Security mailing lists by PureSourceCode

GHSA-xfx2-prg5-jq3g

HIGH

INSATutorat has an authorization bypass vulnerability in its /api/admin/* endpoints

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.

Published
1 Mar 2026
Last modified
23 Mar 2026
Weakness
CWE-285
Also known as
GO-2026-4581
Sources
OSVJSONOSV GO-2026-4581JSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 4.0 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

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV Go github.com/romitou/insatutorat < 0.0.0-20260226075457-15ae47425aed 0.0.0-20260226075457-15ae47425aed

References

History

  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 10 Mar 2026)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 1 Mar 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.