Home / emicklei / emicklei/go-restful / CVE-2022-1996
CVE-2022-1996: is it exploited, and which versions of emicklei/go-restful are affected and fixed?
CVE-2022-1996 is an authorization bypass through a user-controlled key (IDOR) vulnerability in emicklei/go-restful. 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, 20:09 UTC). Affected: github.com/emicklei/go-restful/v3 from 3.0.0 before 3.8.0, github.com/emicklei/go-restful before 2.16.0 and github.com/emicklei/go-restful/v2 through 2.7.1 (GitHub advisory GHSA-r48q-9g5r-8q2h). Fixed in 3.8.0 and 2.16.0 (GitHub advisory GHSA-r48q-9g5r-8q2h). Severity: Critical (9.3, CVSS 3.0, from @huntrdev).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 20:09 UTC, CVE record November 28, 2026, 19:54 UTC and NVD November 19, 2026, 07:48 UTC.
What is CVE-2022-1996?
Authorization Bypass Through User-Controlled Key in emicklei/go-restful
Authorization Bypass Through User-Controlled Key in GitHub repository emicklei/go-restful prior to v3.8.0.
From the CVE record by @huntrdev, last updated August 3, 2024, 00:24 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| emicklei | emicklei/go-restful | before v3.8.0 | v3.8.0 |
As the CVE record by @huntrdev states it, last updated August 3, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Go | github.com/emicklei/go-restful/v3 | >= 3.0.0, < 3.8.0 | 3.8.0 | GHSA-r48q-9g5r-8q2h |
| Go | github.com/emicklei/go-restful | < 2.16.0 | 2.16.0 | GHSA-r48q-9g5r-8q2h |
| Go | github.com/emicklei/go-restful/v2 | <= 2.7.1 | none listed | GHSA-r48q-9g5r-8q2h |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated June 17, 2022. Summary: Authorization Bypass Through User-Controlled Key in go-restful.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| go-restful project | go-restful | before 2.16.0 | application |
| go-restful project | go-restful | from 3.0.0 before 3.8.0 | application |
| fedoraproject | fedora | 35 | operating system |
| fedoraproject | fedora | 36 | operating system |
NVD analysis (status Modified), last modified June 17, 2026, 04:23 UTC.
How severe is CVE-2022-1996?
| Score | Version | Vector | Source |
|---|---|---|---|
| Critical 9.3 | CVSS 3.0 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N | @huntrdev |
| Critical 9.1 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N | NVD |
| Medium 6.4 | CVSS 2.0 | AV:N/AC:L/Au:N/C:P/I:P/A:N | NVD |
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-1996 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 3.09% probability of exploitation activity in the next 30 days, percentile 88.1 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-639 Authorization Bypass Through User-Controlled Key
Where are the vendor advisories and references?
- https://huntr.dev/bounties/be837427-415c-4d8c-808b-62ce20aa84f1
- https://github.com/emicklei/go-restful/commit/fd3c327a379ce08c68ef18765bdc925f5d9bad10
- FEDORA-2022-185697ef56 vendor-advisory
- FEDORA-2022-589a0ad690 vendor-advisory
- FEDORA-2022-fae3ecee19 vendor-advisory
- FEDORA-2022-ba365d3703 vendor-advisory
- FEDORA-2022-30c5ed5625 vendor-advisory
- https://security.netapp.com/advisory/ntap-20220923-0005/
- FEDORA-2023-6550d9323b vendor-advisory
- FEDORA-2023-4e2068ba5d vendor-advisory
- FEDORA-2023-c9b2182a4e vendor-advisory
When was it published, and where is the official record?
- Reserved
- June 6, 2022
- Published
- June 6, 2022, 00:00 UTC
- CVE record updated
- August 3, 2024, 00:24 UTC by @huntrdev
- NVD
- Modified, last modified June 17, 2026, 04:23 UTC
- Last checked
- CVE list November 28, 2026, 19:54 UTC; NVD November 19, 2026, 07:48 UTC; KEV December 3, 2026, 20:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
Questions about CVE-2022-1996
Is CVE-2022-1996 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 20:09 UTC. FIRST's EPSS gives it a 3.09% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of emicklei/go-restful are affected by CVE-2022-1996?
github.com/emicklei/go-restful/v3 from 3.0.0 before 3.8.0, github.com/emicklei/go-restful before 2.16.0 and github.com/emicklei/go-restful/v2 through 2.7.1, per the GitHub advisory GHSA-r48q-9g5r-8q2h. The tables above give every range the sources list.
Which version fixes CVE-2022-1996?
3.8.0 and 2.16.0, per the GitHub advisory GHSA-r48q-9g5r-8q2h. Check the vendor's advisory before you rely on it.
How severe is CVE-2022-1996?
Critical (9.3, CVSS 3.0, from @huntrdev). The severity table above shows each score with its source.
Where is the official record of CVE-2022-1996?
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.