{"id":"JLSEC-2025-3","summary":"Lack of validation for user-provided fields in GitForge.jl","details":"### 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.","aliases":["CVE-2025-50178","GHSA-g2xx-229f-3qjm"],"modified":"2026-07-18T03:30:04.476281364Z","published":"2025-10-08T17:41:37.190Z","database_specific":{"license":"CC-BY-4.0","sources":[{"modified":"2026-06-17T09:34:48.487Z","published":"2025-06-25T16:15:26.693Z","url":"https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2025-50178","html_url":"https://nvd.nist.gov/vuln/detail/CVE-2025-50178","database_specific":{"status":"Deferred"},"id":"CVE-2025-50178","imported":"2026-07-18T02:39:34.157Z"},{"modified":"2025-06-24T23:01:20Z","published":"2025-06-24T23:01:20Z","url":"https://api.github.com/repos/JuliaWeb/GitForge.jl/security-advisories/GHSA-g2xx-229f-3qjm","html_url":"https://github.com/JuliaWeb/GitForge.jl/security/advisories/GHSA-g2xx-229f-3qjm","id":"GHSA-g2xx-229f-3qjm","imported":"2025-10-07T02:52:16.795Z"}]},"references":[{"type":"WEB","url":"https://github.com/JuliaWeb/GitForge.jl/pull/50"},{"type":"WEB","url":"https://github.com/JuliaWeb/GitForge.jl/security/advisories/GHSA-g2xx-229f-3qjm"}],"affected":[{"package":{"name":"GitForge","ecosystem":"Julia","purl":"pkg:julia/GitForge?uuid=8f6bce27-0656-5410-875b-07a5572985df"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.4.3"}]}],"database_specific":{"source":"https://github.com/JuliaLang/SecurityAdvisories.jl/tree/generated/osv/2025/JLSEC-2025-3.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V4","score":"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"}]}