# CVE-2024-48911: OpenCanary Executes Commands From Potentially Writable Config File

- Severity: Medium 5.8 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:L/VI:H/VA:L/SC:N/SI:N/SA: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.34%, higher than 20% of CVEs (2026-11-30)
- Published: 2024-10-14T20:45:57.810Z
- Modified: 2026-06-17T07:59:01.373Z
- Also known as: GHSA-pf5v-pqfv-x8jj, PYSEC-2024-248
- Weaknesses: CWE-863
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

OpenCanary, a multi-protocol network honeypot, directly executed commands taken from its config file. Prior to version 0.9.4, where the config file is stored in an unprivileged user directory but the daemon is executed by root, it’s possible for the unprivileged user to change the config file and escalate permissions when root later runs the daemon. Version 0.9.4 contains a fix for the issue.

(As written by CVE List.)

## Affected

- thinkst opencanary: < 0.9.4; before 0.9.4
- opencanary (PyPI): before 0.9.5; before 0.9.4

## Every score

- GitHub_M: CVSS:4.0 5.8 Medium `CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:L/VI:H/VA:L/SC:N/SI:N/SA:N`
- GitHub: CVSS:3.1 7.8 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:L/VI:H/VA:L/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- PyPA Advisory Database: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`

## References

- <https://github.com/thinkst/opencanary/security/advisories/GHSA-pf5v-pqfv-x8jj> (advisory, vendor-advisory, web)
- <https://github.com/thinkst/opencanary/commit/2c11575b1a3dd8b0df26a879ba856c0aa350c049> (fix, patch, web)
- <https://github.com/thinkst/opencanary/releases/tag/v0.9.4> (release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-48911> (advisory)
- <https://github.com/pypa/advisory-database/tree/main/vulns/opencanary/PYSEC-2024-248.yaml> (web)
- <https://github.com/thinkst/opencanary> (package)

## Sources

- CVE List: [CVE-2024-48911](https://www.cve.org/CVERecord?id=CVE-2024-48911), CVE Terms of Use, modified 2024-10-15
- GitHub Advisory Database: [GHSA-pf5v-pqfv-x8jj](https://github.com/advisories/GHSA-pf5v-pqfv-x8jj), CC-BY-4.0, modified 2025-05-16
- NVD: [CVE-2024-48911](https://nvd.nist.gov/vuln/detail/CVE-2024-48911), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2024-248](https://osv.dev/vulnerability/PYSEC-2024-248), CC-BY-4.0, modified 2025-05-16

---

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