# CVE-2021-41185: Download file outside intended directory

- Severity: High 8.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/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
- Likelihood of exploitation in the next 30 days (EPSS): 1.42%, higher than 73% of CVEs (2026-12-01)
- Published: 2021-10-26T14:45:13.000Z
- Modified: 2026-06-17T04:08:03.000Z
- Weaknesses: CWE-22
- Assigned by: GitHub_M

## Description

Mycodo is an environmental monitoring and regulation system. An exploit in versions prior to 8.12.7 allows anyone with access to endpoints to download files outside the intended directory. A patch has been applied and a release made. Users should upgrade to version 8.12.7. As a workaround, users may manually apply the changes from the fix commit.

(As written by CVE List.)

## Affected

- kizniche Mycodo: < 8.12.7
- mycodo_project mycodo: before 8.12.7

## Every score

- GitHub_M: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/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://github.com/kizniche/Mycodo/security/advisories/GHSA-252r-94ph-m229> (patch, third-party-advisory)
- <https://github.com/kizniche/Mycodo/issues/1105> (issue-tracking, third-party-advisory)
- <https://github.com/kizniche/Mycodo/commit/23ac5dd422029c2b6ae1701a3599b6d41b66a6a9> (patch, third-party-advisory)
- <https://github.com/kizniche/Mycodo/releases/tag/v8.12.7> (release-notes, third-party-advisory)

## Sources

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

---

Page: https://cve.day/CVE-2021-41185 · Whole record: https://cve.day/CVE-2021-41185.json · Rebuilt by cve.day 2026-11-25T22:58:05.210Z
