{"answers":{"affected":"3 open source packages ship an affected version, including github.com/romitou/insatutorat.","exploited":"There is no known exploitation of GHSA-xfx2-prg5-jq3g in the wild and no public exploit code.","fix":"Upgrade github.com/romitou/insatutorat to 0.0.0-20260226075457-15ae47425aed or later.","what":"GHSA-xfx2-prg5-jq3g is an authentication bypass vulnerability in github.com/romitou/insatutorat, published on 1 Mar 2026. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for GHSA-xfx2-prg5-jq3g and fix it if it is affected.\n\nWhat it is: GHSA-xfx2-prg5-jq3g is an authentication bypass vulnerability in github.com/romitou/insatutorat, published on 1 Mar 2026. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of GHSA-xfx2-prg5-jq3g in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/romitou/insatutorat (Go): affected all versions; fixed in 0.0.0-20260226075457-15ae47425aed\n- github.com/romitou/insatutorat (Go): affected all versions; fixed in 0.0.0-20260226075457-15ae47425aed\n- github.com/romitou/insatutorat (Go): affected all versions; fixed in 0.0.0-20260226075457-15ae47425aed\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/GHSA-xfx2-prg5-jq3g/ (Markdown: https://insights.sbomify.com/GHSA-xfx2-prg5-jq3g/index.md)","id":"GHSA-xfx2-prg5-jq3g","markdown":"https://insights.sbomify.com/GHSA-xfx2-prg5-jq3g/index.md","name":"GHSA-xfx2-prg5-jq3g","record":{"aliases":["GO-2026-4581"],"analysis":{"component_type":"web_application","fix_type":"patch","impacts":["data_read","data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"Tutoring application","requires_auth":"low_privilege","summary":"Standard users can bypass authorization checks to read sensitive data and modify resources via admin API endpoints.","user_interaction":"not_required","vuln_class":"auth_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":null,"cpe":[],"cvss":{"score":null,"severity":null,"source":null,"vector":null,"version":null},"cwes":[],"description":"### Impact\n\nAn 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.\n\nAs 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.\n\n### Remediation\n\nThe 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.\n\n### Workarounds\n\nThere is no workaround other than applying the fix in the source code.\n\n### Resources:\n* Link to the fix commit: [15ae474](https://github.com/Romitou/INSATutorat/commit/15ae47425aed337181f7a6c54a9d199c93b041eb)\n\n### Credits\nINSATutorat thanks the Master 2 SSI 25-26 team at the University of Rouen Normandie for their research work on this project.\n- Malak Bekkai\n- Matthieu Espada Mora\n- Amen Allah Khalf Allah\n- Liam Laouenan\n- Neila Ould Slimane\n- Lucas Thomire\n\nThis advisory was translated from French to English by GitHub Copilot.","ecosystems":["Go"],"exploits":{"exploitdb":null,"first_seen":null,"github_poc":null,"max_poc_stars":null,"metasploit":null,"nuclei":null,"refs":[],"tier":null},"has_fix":true,"headline":"INSATutorat has an authorization bypass vulnerability in its /api/admin/* endpoints","id":"GHSA-xfx2-prg5-jq3g","indexable":true,"kev":null,"kind":"advisory","links":{"ecosystem":"Go","product":null,"products":[],"type":"auth_bypass","year":"2026"},"n_packages":3,"n_references":null,"packages":[{"ecosystem":"Go","fixed":["0.0.0-20260226075457-15ae47425aed"],"introduced":["0"],"last_affected":[],"package":"github.com/romitou/insatutorat","purl":null,"source":"GHSA-xfx2-prg5-jq3g"},{"ecosystem":"Go","fixed":["0.0.0-20260226075457-15ae47425aed"],"introduced":["0"],"last_affected":[],"package":"github.com/romitou/insatutorat","purl":"pkg:golang/github.com/romitou/insatutorat","source":"GHSA-xfx2-prg5-jq3g"},{"ecosystem":"Go","fixed":["0.0.0-20260226075457-15ae47425aed"],"introduced":["0"],"last_affected":[],"package":"github.com/romitou/insatutorat","purl":"pkg:golang/github.com/romitou/insatutorat","source":"GO-2026-4581"}],"products":null,"published":"2026-03-01","related":[],"sources":[{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":null,"updated":null,"vendors":null},"summary":"Standard users can bypass authorization checks to read sensitive data and modify resources via admin API endpoints.","url":"https://insights.sbomify.com/GHSA-xfx2-prg5-jq3g/"}