CVEBrief

Home / golang.org/x/crypto / golang.org/x/crypto/acme/autocert / CVE-2022-30636

CVE-2022-30636: is it exploited, and which versions of golang.org/x/crypto/acme/autocert are affected and fixed?

CVE-2022-30636 is a CWE 22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') vulnerability in golang.org/x/crypto/acme/autocert. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 11:38 UTC). Affected: golang.org/x/crypto/acme/autocert before 0.0.0-20220525230936-793ad666bf5e (CVE record by Go). Fixed in 0.0.0-20220525230936-793ad666bf5e (CVE record by Go). Severity: High (7.5, CVSS 3.1, from CISA-ADP).

Data checked December 3, 2026: last read CISA KEV December 3, 2026, 11:38 UTC, CVE record November 19, 2026, 07:14 UTC and NVD November 19, 2026, 07:28 UTC.

Exploited in the wild
Not in CISA KEV
KEV read December 3, 2026, 11:38 UTC
Affected
golang.org/x/crypto/acme/autocert before 0.0.0-20220525230936-793ad666bf5e
CVE record by Go
Fixed in
0.0.0-20220525230936-793ad666bf5e
CVE record by Go
Severity
High 7.5
CVSS 3.1 from CISA-ADP
Exploit odds (EPSS)
0.64% in 30 days
higher than 52% of CVEs; FIRST, December 2, 2026

What is CVE-2022-30636?

Limited directory traversal vulnerability on Windows in golang.org/x/crypto

httpTokenCacheKey uses path.Base to extract the expected HTTP-01 token value to lookup in the DirCache implementation. On Windows, path.Base acts differently to filepath.Base, since Windows uses a different path separator (\ vs. /), allowing a user to provide a relative path, i.e. .well-known/acme-challenge/..\..\asd becomes ..\..\asd. The extracted path is then suffixed with +http-01, joined with the cache directory, and opened. Since the controlled path is suffixed with +http-01 before opening, the impact of this is significantly limited, since it only allows reading arbitrary files on the system if and only if they have this suffix.

From the CVE record by Go, last updated August 7, 2024, 16:21 UTC.

Which versions are affected, and which fix it?

VendorProductAffectedFixed or not affected from
golang.org/x/cryptogolang.org/x/crypto/acme/autocert
windows
before 0.0.0-20220525230936-793ad666bf5e0.0.0-20220525230936-793ad666bf5e

As the CVE record by Go states it, last updated August 7, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.

How severe is CVE-2022-30636?

ScoreVersionVectorSource
High 7.5CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:NCISA-ADP

Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.

What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.

Is CVE-2022-30636 exploited in the wild?

CISA KEV
Not listed (catalog 2026.11.30)
CISA SSVC
Exploitation: poc; automatable: yes; technical impact: partial (CISA ADP, July 3, 2024)
EPSS
0.64% probability of exploitation activity in the next 30 days, percentile 51.9 (FIRST EPSS, scores of December 2, 2026)

Where are the vendor advisories and references?

Who found and reported it?

As published in the CVE record; contact details are removed.

When was it published, and where is the official record?

Reserved
May 12, 2022
Published
July 2, 2024, 19:51 UTC
CVE record updated
August 7, 2024, 16:21 UTC by Go
NVD
Deferred, last modified June 17, 2026, 04:43 UTC
Last checked
CVE list November 19, 2026, 07:14 UTC; NVD November 19, 2026, 07:28 UTC; KEV December 3, 2026, 11:38 UTC; EPSS December 2, 2026
Official record
cve.org · NVD

Questions about CVE-2022-30636

Is CVE-2022-30636 exploited in the wild?

Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 11:38 UTC. FIRST's EPSS gives it a 0.64% chance of exploitation activity in the next 30 days (scores of December 2, 2026).

Which versions of golang.org/x/crypto/acme/autocert are affected by CVE-2022-30636?

golang.org/x/crypto/acme/autocert before 0.0.0-20220525230936-793ad666bf5e, per the CVE record by Go. The tables above give every range the sources list.

Which version fixes CVE-2022-30636?

0.0.0-20220525230936-793ad666bf5e, per the CVE record by Go. Check the vendor's advisory before you rely on it.

How severe is CVE-2022-30636?

High (7.5, CVSS 3.1, from CISA-ADP). The severity table above shows each score with its source.

Where is the official record of CVE-2022-30636?

The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.