CVE-2022-29180
CRITICAL 9.8CVSS 3.1Server-Side Request Forgery in charm
A vulnerability in which attackers could forge HTTP requests to manipulate the charm data directory to access or delete anything on the server. This has been patched and is available in release v0.12.1. We recommend that all users running self-hosted charm instances update immediately. This vulnerability was found in-house and we haven't been notified of any potential exploiters. ### Additional notes * Encrypted user data uploaded to the Charm server is safe as Charm servers cannot decrypt user data. This includes filenames, paths, and all key-value data. * Users running the official Charm Docker images are at minimal risk because the exploit is limited to the containerized filesystem.
- Published
- 7 May 2022
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-918
- Also known as
- GHSA-4wpp-w5r4-7v5vGO-2022-0449
- Sources
- NVDJSONOSV GHSA-4wpp-w5r4-7v5vJSONOSV GO-2022-0449JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | charm | charmcpe:2.3:a:charm:charm:*:*:*:*:*:*:*:* |
>= 0.9.0, < 0.12.1 | 0.12.1 |
| OSV | Go | github.com/charmbracelet/charm | >= 0.9.0, < 0.12.1 | 0.12.1 |
References
- https://github.com/charmbracelet/charm/commit/3c90668f955c7ce5ef721e4fc9faee7053232fd3 · Patch, Third Party Advisory, WEB, FIX
- https://github.com/charmbracelet/charm/security/advisories/GHSA-4wpp-w5r4-7v5v · Patch, Release Notes, Third Party Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2022-29180 · ADVISORY
- https://github.com/charmbracelet/charm · PACKAGE
History
- 25 Nov 2026 20:34 UTC · NVD: first stored (published 7 May 2022)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 21 Aug 2024)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 24 May 2022)