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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: None; User interaction: Required; Scope: Unchanged; Confidentiality impact: None; Integrity impact: High; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.35% (percentile 21, 2026-11-28)
- **CWE:** CWE-22
- **Aliases:** GHSA-xc27-f9q3-4448, PYSEC-2026-1456
- **Published:** 2023-09-04T17:02:36.000Z
- **Modified:** 2026-09-10T03:50:03.462Z

## Who should check

- Projects that depend on PyPI package hyper-bump-it (\< 0.5.1)
- Anyone running plannigan hyper-bump-it \< 0.5.1

## 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\`.

## Affected and fixed versions

- PyPI `hyper-bump-it`: affected \< 0.5.1; fixed 0.5.1 (osv)
- plannigan hyper-bump-it: \< 0.5.1 (cvelist)

## Mitigation

- Upgrade hyper-bump-it to 0.5.1 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2023-41057. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-41057.md
Affected: hyper-bump-it < 0.5.1
Fixed in: 0.5.1

Steps:
1. Search this machine and project for hyper-bump-it (PyPI), plannigan hyper-bump-it: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2023-41057 being exploited?

There is no confirmed exploitation: CVE-2023-41057 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.35% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2023-41057?

Medium: CVSS 5.5 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). A user has to take an action, such as opening a link, for the attack to work.

### Which versions are affected by CVE-2023-41057?

hyper-bump-it \< 0.5.1.

### Is there a fix for CVE-2023-41057?

Yes. Fixed in 0.5.1. Upgrade hyper-bump-it to 0.5.1 or later.

### How do I check if I'm affected by CVE-2023-41057?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

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

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2023-41057>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-xc27-f9q3-4448> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/PYSEC-2026-1456> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2023-41057> · JSON: <https://flawdb.com/api/v1/entries/CVE-2023-41057>
