Skip to content

Lack of validation for user-provided fields in GitForge.jl

Moderate
aviks published GHSA-g2xx-229f-3qjm Jun 24, 2025

Package

GitForge.jl (Julia)

Affected versions

<=0.4.2

Patched versions

0.4.3

Description

Description

There is a lack of 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.

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 v0.4.3. All prior versions are vulnerable.

Workarounds

None

References

Fixed by: #50 (which is available in v0.4.3).

Credits

Thanks to splitline from the DEVCORE Research Team for reporting this issue.

Severity

Moderate

CVE ID

CVE-2025-50178

Weaknesses

Improper Input Validation

The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly. Learn more on MITRE.