# CVE-2022-0338: Insertion of Sensitive Information into Log File in delgan/loguru

- Severity: Medium 4.3 (CVSS:3.1, scored by @huntrdev) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/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.81%, higher than 58% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-01-25T09:00:12.000Z
- Modified: 2026-06-17T04:20:25.250Z
- Also known as: GHSA-39ph-wr67-j4xq, PYSEC-2022-14
- Weaknesses: CWE-269, CWE-532, CWE-732
- Assigned by: @huntrdev

## Description

Insertion of Sensitive Information into Log File in Conda loguru prior to 0.5.3.

(As written by CVE List.)

## Affected

- delgan delgan/loguru: from unspecified before 0.5.3
- loguru (PyPI): before 0.5.3; before ea39375e62f9b8f18e2ca798a5c0fb8c972b7eaa
- loguru_project loguru: before 0.5.3

## Every score

- @huntrdev: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N`
- GitHub: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`
- NVD: CVSS:2.0 4.0 Medium `AV:N/AC:L/Au:S/C:P/I:N/A:N`

## References

- <https://huntr.dev/bounties/359bea50-2bc6-426a-b2f9-175d401b1ed0> (exploit, patch, third-party-advisory, web)
- <https://github.com/delgan/loguru/commit/ea39375e62f9b8f18e2ca798a5c0fb8c972b7eaa> (fix, patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-0338> (advisory)
- <https://github.com/Delgan/loguru> (package)
- <https://github.com/pypa/advisory-database/tree/main/vulns/loguru/PYSEC-2022-14.yaml> (web)
- <https://github.com/advisories/GHSA-39ph-wr67-j4xq> (advisory)

## Sources

- CVE List: [CVE-2022-0338](https://www.cve.org/CVERecord?id=CVE-2022-0338), CVE Terms of Use, modified 2024-08-02
- GitHub Advisory Database: [GHSA-39ph-wr67-j4xq](https://github.com/advisories/GHSA-39ph-wr67-j4xq), CC-BY-4.0, modified 2026-02-28
- NVD: [CVE-2022-0338](https://nvd.nist.gov/vuln/detail/CVE-2022-0338), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2022-14](https://osv.dev/vulnerability/PYSEC-2022-14), CC-BY-4.0, modified 2026-06-10

---

Page: https://cve.day/CVE-2022-0338 · Whole record: https://cve.day/CVE-2022-0338.json · Rebuilt by cve.day 2026-11-25T22:58:09.403Z
