6.6medium
GitHub.jl lacks validation for user-provided fields
- Severity
- 6.6medium CVSS:4.0 by GitHub_M
- Exploit likelihood
- 0.49% (higher than 43% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- JLSEC-2025-5GHSA-jg9p-c3wh-q83x
Description
GitForge.jl is a unified interface for interacting with Git "forges." Versions prior to 5.9.1 lack input validation of input validation for user-provided values in certain functions. In the `GitHub.repo()` function, the user can provide any string for the `repo_name` field. 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. Users should upgrade immediately to v5.9.1 or later to receive a patch. All prior versions are vulnerable. No known workarounds are available.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| JuliaWeb GitHub.jl | < 5.9.1 | CVE List |
| GitHub (Julia) | before 5.9.1 | Julia Security Advisories |
All scores
| GitHub_M | 6.6medium CVSS:4.0 | 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 |
| Julia Security Advisories | Not scored CVSS:4.0 | 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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
Classification
What each source says
CVE List
GitForge.jl is a unified interface for interacting with Git "forges." Versions prior to 5.9.1 lack input validation of input validation for user-provided values in certain functions. In the `GitHub.repo()` function, the user can provide any string for the `repo_name` field. 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. Users should upgrade immediately to v5.9.1 or later to receive a patch. All prior versions are vulnerable. No known workarounds are available.
Julia Security Advisories
There is a lack of input validation for user-provided values in certain functions.
In the GitHub.repo() function, the user can provide any string for the repo_name field. These inputs are not validated or safely encoded and are sent directly to the server.
Impact
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.
Patches
Users should upgrade immediately to v5.9.1 or later. All prior versions are vulnerable. We recommend users upgrade to v5.10.0
Workarounds
None
References
Fixed by: https://github.com/JuliaWeb/GitHub.jl/pull/224 (which is available in v5.9.1).
Credits
splitline from the DEVCORE Research Team for reported similar issues in other packages. Audit of equivalent problems in this package resulted in this issue, found by Dilum Aluthge.
NVD (es)
GitForge.jl es una interfaz unificada para interactuar con las forjas de Git. Las versiones anteriores a la 5.9.1 carecen de validación de entrada para los valores proporcionados por el usuario en ciertas funciones. En la función `GitHub.repo()`, el usuario puede proporcionar cualquier cadena para el campo `repo_name`. Estas entradas no se validan ni codifican de forma segura y se envían directamente al servidor. Esto significa que un usuario puede añadir patrones de path traversal como `../` en la entrada para acceder a cualquier otro endpoint en `api.github.com` que no estaba previsto. Los usuarios deben actualizar inmediatamente a la versión 5.9.1 o posterior para recibir un parche. Todas las versiones anteriores son vulnerables. No se conocen soluciones alternativas.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-52569 changed 2025-06-25 | CVE Terms of Use |
| Julia Security Advisories | JLSEC-2025-5 changed 2026-07-18 | CC-BY-4.0 |
| NVD | CVE-2025-52569 changed 2026-06-17 | Public domain |