Vulnerability · Published Jun 25, 2025 · Assigned by GitHub_M
CVE-2025-50178GitForge.jl lacks validation for user provided fields
Medium 6.6
In plain English
A medium-severity improper input validation in GitForge.jl from JuliaWeb. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 41% of all known vulnerabilities).
Official description
GitForge.jl is a unified interface for interacting with Git "forges." Versions prior to 0.4.3 lack input validation for user provided values in certain functions. In the `GitForge.get_repo` function for GitHub, the user can provide any string for the owner and repo fields. These inputs are not validated or safely encoded and are sent directly to the server. This means a user can add path traversal patterns like `../` in the input to access any other endpoints on api.github.com that were not intended. Version 0.4.3 contains a patch for the issue. No known workarounds are available.
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| JuliaWeb | GitForge.jl | < 0.4.3 |
Weakness: CWE-20, CWE-22 · Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:U
References
- https://github.com/JuliaWeb/GitForge.jl/security/advisories/GHSA-g2xx-229f-3qjm x_refsource_CONFIRM
- https://github.com/JuliaWeb/GitForge.jl/pull/50 x_refsource_MISC