# CVE-2024-52582: cachi2 allows traceback prints locals

- Severity: Medium 4.7 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N`
- 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.18%, higher than 7% of CVEs (2026-12-01)
- Published: 2024-11-19T15:32:26.579Z
- Modified: 2026-06-17T08:07:29.487Z
- Weaknesses: CWE-497
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

Cachi2 is a command-line interface tool that pre-fetches a project's dependencies to aid in making the project's build process network-isolated. Prior to version 0.14.0, secrets may be shown in logs when an unhandled exception is triggered because the tool is logging locals of each function. This may uncover secrets if tool used in CI/build pipelines as it's the main use case. Version 0.14.0 contains a patch for the issue. No known workarounds are available.

(As written by CVE List.)

## Affected

- containerbuildsystem cachi2: < 0.14.0; before 0.14.0

## References

- <https://github.com/containerbuildsystem/cachi2/security/advisories/GHSA-w9qc-9m5h-qqmh>
- <https://github.com/containerbuildsystem/cachi2/commit/d6638e5e14474061a1ab1ba5d0ee72f58b9a11a9>
- <https://typer.tiangolo.com/tutorial/exceptions/?h=#disable-local-variables-for-security>

## Sources

- CVE List: [CVE-2024-52582](https://www.cve.org/CVERecord?id=CVE-2024-52582), CVE Terms of Use, modified 2024-11-19
- NVD: [CVE-2024-52582](https://nvd.nist.gov/vuln/detail/CVE-2024-52582), Public domain, modified 2026-06-17

---

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