# CVE-2019-12522: An issue was discovered in Squid through 4.7.

- Severity: Medium 4.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L`
- 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.34%, higher than 29% of CVEs (2026-12-01)
- Published: 2020-04-15T19:00:01.000Z
- Modified: 2026-06-17T02:14:49.010Z
- Weaknesses: CWE-269
- Assigned by: mitre

## Description

An issue was discovered in Squid through 4.7. When Squid is run as root, it spawns its child processes as a lesser user, by default the user nobody. This is done via the leave_suid call. leave_suid leaves the Saved UID as 0. This makes it trivial for an attacker who has compromised the child process to escalate their privileges back to root.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- squid-cache squid: up to 4.7

## Every score

- NVD: CVSS:3.1 4.5 Medium `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L`
- NVD: CVSS:2.0 4.4 Medium `AV:L/AC:M/Au:N/C:P/I:P/A:P`

## References

- <https://gitlab.com/jeriko.one/security/-/blob/master/squid/CVEs/CVE-2019-12522.txt> (third-party-advisory)
- <https://security.netapp.com/advisory/ntap-20210205-0006/> (third-party-advisory)

## Sources

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

---

Page: https://cve.day/CVE-2019-12522 · Whole record: https://cve.day/CVE-2019-12522.json · Rebuilt by cve.day 2026-11-25T22:57:49.739Z
