# JLSEC-2026-394: When curl < 7.84.0 saves cookies, alt-svc and hsts data to local files, it makes the operation atomic by finalizing the operation with a re…

- Severity: Critical 9.8 (CVSS:3.1, scored by Julia Security Advisories) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2026-05-04T13:12:06.605Z
- Modified: 2026-07-18T00:01:55.116Z
- Related: CVE-2022-32207

## Description

When curl < 7.84.0 saves cookies, alt-svc and hsts data to local files, it makes the operation atomic by finalizing the operation with a rename from a temporary name to the final target file name.In that rename operation, it might accidentally *widen* the permissions for the target file, leaving the updated file accessible to more users than intended.

(As written by Julia Security Advisories.)

## Affected

- CURL_jll (Julia): before 8.5.0+0
- LibCURL_jll (Julia): from 7.70.0+0 before 7.84.0+0

## Every score

- Julia Security Advisories: CVSS:2.0 `AV:N/AC:L/Au:N/C:P/I:P/A:P`
- Julia Security Advisories: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <http://seclists.org/fulldisclosure/2022/Oct/28> (web)
- <http://seclists.org/fulldisclosure/2022/Oct/41> (web)
- <https://hackerone.com/reports/1573634> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BEV6BR4MTI3CEWK2YU2HQZUW5FAS3FEY/> (web)
- <https://security.gentoo.org/glsa/202212-01> (web)
- <https://security.netapp.com/advisory/ntap-20220915-0003/> (web)
- <https://support.apple.com/kb/HT213488> (web)
- <https://www.debian.org/security/2022/dsa-5197> (web)

## Sources

- Julia Security Advisories: [JLSEC-2026-394](https://osv.dev/vulnerability/JLSEC-2026-394), CC-BY-4.0, modified 2026-07-18

---

Page: https://cve.day/JLSEC-2026-394 · Whole record: https://cve.day/JLSEC-2026-394.json · Rebuilt by cve.day 2026-11-25T22:56:26.104Z
