# CVE-2024-6984: Juju's unprivileged user running on charm node can leak any secret or relation data accessible to the local charm

- Severity: High 8.8 (CVSS:3.1, scored by canonical) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.38%, higher than 33% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-07-29T14:04:05.925Z
- Modified: 2026-07-08T06:52:56.454Z
- Also known as: GHSA-6vjm-54vp-mxhx, GO-2024-3010, GO-2024-3040
- Weaknesses: CWE-209, CWE-269, CWE-284
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: canonical

## Description

An issue was discovered in Juju that resulted in the leak of the sensitive context ID, which allows a local unprivileged attacker to access other sensitive data or relation accessible to the local charm.

(As written by CVE List.)

## Affected

- juju: from 3.5 before 3.5.3; from 3.4 before 3.4.5; from 3.3 before 3.3.5; from 3.1 before 3.1.9; from 2.9 before 2.9.50
- canonical juju: from 2.9 before 2.9.50; from 3.1 before 3.1.9; from 3.3 before 3.3.5; from 3.4 before 3.4.5; from 3.5 before 3.5.3; from 3.3 before 3.3.6
- github.com/juju/juju (Go): before 2.9.50; from 3.0.0 before 3.1.9; from 3.2.0 before 3.3.6; from 3.4.0 before 3.4.5; from 3.5.0 before 3.5.3; all versions

## Every score

- canonical: CVSS:3.1 8.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- GitHub: CVSS:3.1 8.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- GitHub: CVSS:4.0 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 3.8 Low `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N`

## References

- <https://github.com/juju/juju/security/advisories/GHSA-6vjm-54vp-mxhx> (exploit, advisory, issue-tracking, vendor-advisory, web)
- <https://github.com/juju/juju/commit/da929676853092a29ddf8d589468cf85ba3efaf2> (fix, patch, web)
- <https://www.cve.org/CVERecord?id=CVE-2024-6984> (advisory, issue-tracking, third-party-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-6984> (advisory, web)
- <https://github.com/juju/juju> (package)
- <https://pkg.go.dev/vuln/GO-2024-3010> (web)
- <https://pkg.go.dev/vuln/GO-2024-3040> (web)

## Sources

- CVE List: [CVE-2024-6984](https://www.cve.org/CVERecord?id=CVE-2024-6984), CVE Terms of Use, modified 2024-08-01
- GitHub Advisory Database: [GHSA-6vjm-54vp-mxhx](https://github.com/advisories/GHSA-6vjm-54vp-mxhx), CC-BY-4.0, modified 2026-07-08
- Go Vulnerability Database: [GO-2024-3010](https://pkg.go.dev/vuln/GO-2024-3010), CC-BY-4.0, modified 2026-07-08
- Go Vulnerability Database: [GO-2024-3040](https://pkg.go.dev/vuln/GO-2024-3040), CC-BY-4.0, modified 2026-07-08
- NVD: [CVE-2024-6984](https://nvd.nist.gov/vuln/detail/CVE-2024-6984), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-6984 · Whole record: https://cve.day/CVE-2024-6984.json · Rebuilt by cve.day 2026-11-25T22:58:43.288Z
