GHSA-xfx2-prg5-jq3g

Suggest an improvement
Source
https://github.com/advisories/GHSA-xfx2-prg5-jq3g
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-xfx2-prg5-jq3g/GHSA-xfx2-prg5-jq3g.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-xfx2-prg5-jq3g
Aliases
Published
2026-03-01T01:22:25Z
Modified
2026-03-23T04:56:29Z
Severity
  • 8.7 (High) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N CVSS Calculator
Summary
INSATutorat has an authorization bypass vulnerability in its /api/admin/* endpoints
Details

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:

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.

Database specific
{
    "cwe_ids":  [
        "CWE-285"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2026-03-01T01:22:25Z",
    "nvd_published_at":  null,
    "severity":  "HIGH"
}
References

Affected packages

Go / github.com/romitou/insatutorat

Package

Name
github.com/romitou/insatutorat
View open source insights on deps.dev
Purl
pkg:golang/github.com/romitou/insatutorat

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
0.0.0-20260226075457-15ae47425aed

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-xfx2-prg5-jq3g/GHSA-xfx2-prg5-jq3g.json"