GHSA-xfx2-prg5-jq3g — insatutorat
Fix: Romitou/INSATutorat@15ae474GHSA-xfx2-prg5-jq3g is a security vulnerability in github.com/romitou/insatutorat. A fix is available for github.com/romitou/insatutorat — see the affected versions and patch details below.
INSATutorat has an authorization bypass vulnerability in its /api/admin/* endpoints
Real-World Exposure
github.com/romitou/insatutoratReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Go packages — download data is not available via public APIs for these ecosystems.
Description
Impact
An authorization bypass vulnerability was discovered in the administration pages of the tutoring application. When a standard user (logged in but without administrator privileges) attempts to access a resource under /api/admin/, the system detects the error but does not block the request.
As a result, sensitive data is still transmitted by the server in the request (GET), and modification actions such as campaign creation (POST) are executed successfully despite the FORBIDDEN error message. All /api/admin/* endpoints are affected.
Remediation
The issue was resolved by adding the missing c.Abort() instruction in the Gin authentication middleware (commit 15ae474). This instruction immediately interrupts the processing chain if the user is not an administrator.
Workarounds
There is no workaround other than applying the fix in the source code.
Resources:
- Link to the fix commit: 15ae474
Credits
INSATutorat thanks the Master 2 SSI 25-26 team at the University of Rouen Normandie for their research work on this project.
- Malak Bekkai
- Matthieu Espada Mora
- Amen Allah Khalf Allah
- Liam Laouenan
- Neila Ould Slimane
- Lucas Thomire
This advisory was translated from French to English by GitHub Copilot.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 🐹Go | github.com/romitou/insatutorat | all versions | 0.0.0-20260226075457-15ae47425aedgo get github.com/romitou/insatutorat@v0.0.0-20260226075457-15ae47425aed |
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for github.com/romitou/insatutorat, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update github.com/romitou/insatutorat to 0.0.0-20260226075457-15ae47425aed or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-xfx2-prg5-jq3g is resolved across your whole dependency graph.
Workarounds
If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.
How O3 protects you
O3 Security's impact-aware SCA analyses which vulnerable code paths your application actually calls, so a match like GHSA-xfx2-prg5-jq3g can be triaged on real exposure rather than presence alone.
Tailored to GHSA-xfx2-prg5-jq3g. Runtime protection reduces exposure until a permanent patch is applied and verified — it complements patching, it doesn't replace it.
Frequently Asked Questions
Is GHSA-xfx2-prg5-jq3g in your dependencies?
O3 Security finds GHSA-xfx2-prg5-jq3g across Go dependencies, including transitive ones, and its impact-aware SCA ranks findings by whether your code actually calls the vulnerable path.