{"id":"CVE-2025-50178","aliases":["CVE-2025-50178","JLSEC-2025-3","GHSA-g2xx-229f-3qjm"],"related":[],"kind":"vulnerability","state":"published","title":"GitForge.jl lacks validation for user provided fields","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### Description\n\nThere is a lack of input validation for user-provided values in certain functions.\n\nIn 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.\n\n### Impact\n\nThis 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.\n\n### Patches\n\nUsers should upgrade immediately to v0.4.3. All prior versions are vulnerable.\n\n### Workarounds\n\nNone\n\n### References\n\nFixed by: https://github.com/JuliaWeb/GitForge.jl/pull/50 (which is available in v0.4.3).\n\n### Credits\n\nThanks to *splitline* from the DEVCORE Research Team for reporting this issue.","format":"markdown","source":"jlsec"},{"lang":"es","text":"GitForge.jl es una interfaz unificada para interactuar con las forjas de Git. Las versiones anteriores a la 0.4.3 carecen de validación de entrada para los valores proporcionados por el usuario en ciertas funciones. En la función `GitForge.get_repo` de GitHub, el usuario puede proporcionar cualquier cadena para los campos \"propietario\" y \"repositorio\". 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 estuviera previsto. La versión 0.4.3 incluye un parche para este problema. No se conocen soluciones alternativas.","source":"nvd"}],"published":"2025-06-25T15:12:24.751Z","modified":"2026-07-18T03:30:04.476Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","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","score":6.6,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","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","score":6.6,"rating":"MEDIUM"},{"scorer":"Julia Security Advisories","scheme":"CVSS:4.0","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/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"}],"cwes":["CWE-20","CWE-22"],"affected":[{"ranges":[{"version":"< 0.4.3","status":"affected"}],"vendor":"JuliaWeb","product":"GitForge.jl","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.4.3"}],"ecosystem":"Julia","package":"GitForge","purl":"pkg:julia/GitForge?uuid=8f6bce27-0656-5410-875b-07a5572985df","source":"jlsec"}],"references":[{"url":"https://github.com/JuliaWeb/GitForge.jl/security/advisories/GHSA-g2xx-229f-3qjm","tags":["web","x-refsource-confirm"],"sources":["cvelist","jlsec","nvd"]},{"url":"https://github.com/JuliaWeb/GitForge.jl/pull/50","tags":["web","x-refsource-misc"],"sources":["cvelist","jlsec","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2025-06-25T15:20:32.739Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-50178","url":"https://www.cve.org/CVERecord?id=CVE-2025-50178","licence":"CVE Terms of Use","modified":"2025-06-25T15:20:43.040Z"},{"source":"jlsec","name":"Julia Security Advisories","id":"JLSEC-2025-3","url":"https://osv.dev/vulnerability/JLSEC-2025-3","licence":"CC-BY-4.0","modified":"2026-07-18T03:30:04.476Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-50178","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-50178","licence":"Public domain","modified":"2026-06-17T09:34:48.487Z"}],"updatedAt":"2026-11-25T22:58:59.596Z","epss":{"score":0.00492,"percentile":0.43886,"date":"2026-12-01T12:00:22.000Z"}}