# CVE-2023-41057: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in hyper-bump-it

- Severity: Medium 5.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/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.36%, higher than 32% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2023-09-04T17:02:36.000Z
- Modified: 2026-09-10T03:50:03.462Z
- Also known as: GHSA-xc27-f9q3-4448, PYSEC-2026-1456
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

hyper-bump-it is a command line tool for updating the version in project files.`hyper-bump-it` reads a file glob pattern from the configuration file. That is combined with the project root directory to construct a full glob pattern that is used to find files that should be edited. These matched files should be contained within the project root directory, but that is not checked. This could result in changes being written to files outside of the project. The default behaviour of `hyper-bump-it` is to display the planned changes and prompt the user for confirmation before editing any files. However, the configuration file provides a field that can be used cause files to be edited without displaying the prompt. This issue has been fixed in release version 0.5.1. Users are advised to upgrade. Users that are unable to update from vulnerable versions, executing `hyper-bump-it` with the `--interactive` command line argument will ensure that all planned changes are displayed and prompt the user for confirmation before editing any files, even if the configuration file contains `show_confirm_prompt=true`.

(As written by CVE List.)

## Affected

- plannigan hyper-bump-it: < 0.5.1
- hyper-bump-it (PyPI): before 0.5.1
- plannigan hyper_bump_it: before 0.5.1

## Every score

- GitHub_M: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N`
- GitHub: CVSS:3.1 3.3 Low `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N`
- PyPA Advisory Database: CVSS:3.1 3.3 Low `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N`

## References

- <https://github.com/plannigan/hyper-bump-it/security/advisories/GHSA-xc27-f9q3-4448> (exploit, patch, vendor-advisory, web)
- <https://github.com/plannigan/hyper-bump-it/pull/307> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-41057> (advisory)
- <https://github.com/plannigan/hyper-bump-it> (package)
- <https://pypi.org/project/hyper-bump-it> (package)
- <https://github.com/advisories/GHSA-xc27-f9q3-4448> (advisory)

## Sources

- CVE List: [CVE-2023-41057](https://www.cve.org/CVERecord?id=CVE-2023-41057), CVE Terms of Use, modified 2024-09-27
- GitHub Advisory Database: [GHSA-xc27-f9q3-4448](https://github.com/advisories/GHSA-xc27-f9q3-4448), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2023-41057](https://nvd.nist.gov/vuln/detail/CVE-2023-41057), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-1456](https://osv.dev/vulnerability/PYSEC-2026-1456), CC-BY-4.0, modified 2026-07-07

---

Page: https://cve.day/CVE-2023-41057 · Whole record: https://cve.day/CVE-2023-41057.json · Rebuilt by cve.day 2026-11-25T22:58:27.586Z
