Security mailing lists by PureSourceCode

CVE-2023-41057

MEDIUM 5.5CVSS 3.1

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in hyper-bump-it

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.

Published
4 Sep 2023
Last modified
10 Sep 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-22
Also known as
GHSA-xc27-f9q3-4448PYSEC-2026-1456
Sources
NVDJSONOSV GHSA-xc27-f9q3-4448JSONOSV PYSEC-2026-1456JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 MEDIUM 5.5 CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 5.5 CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
OSV GitHub CVSS 3.1 LOW 3.3 CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
OSV PyPA CVSS 3.1 LOW 3.3 CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD plannigan hyper_bump_it
cpe:2.3:a:plannigan:hyper_bump_it:*:*:*:*:*:python:*:*
< 0.5.1 0.5.1
OSV PyPI hyper-bump-it < 0.5.1 0.5.1

References

History

  • 25 Nov 2026 20:36 UTC · NVD: first stored (published 4 Sep 2023)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Jul 2026)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 4 Sep 2023)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.