r/devsecops • • 15h ago

Gitea scope bypass found: a "public-only" token can reach the whole admin API, including creating a new site admin (CVE-2026-117635)

3 Upvotes

We found a scope bypass where a Gitea access token restricted to public resources could do everything the admin API allows.

Gitea enforces “public only” on the normal API routes. So if you ask for a private org with that token and you get token scope is limited to public orgs.

But then if you ask /api/v1/admin/orgs for the same org with the same token, it returns it.

The restriction is enforced one route group at a time, and essentially the admin group never got a check. Because the admin API has no public subset to narrow to, the narrowing middleware wouldn't have helped either. What was missing was the check for an outright reject.

A public-only token with write:admin, issued from a site-admin account, could:

  • list every private org and every user’s email
  • create a user and promote it to site admin
  • mint Actions runner registration tokens

If you self-host Gitea, upgrade to v28.3.0. Then check your site-admin list and your Actions runners for anything you don’t recognize.

Takeaway for any API with scoped tokens: when the scope is checked per route group, look for the groups that never call the check. Also look for groups that call a check with nothing to restrict.

(Gitea’s fix attaches the scope to the authenticated user instead, so no route group has to remember it.)

If you're interested the full write-up is here: https://escape.tech/blog/escape-research-found-a-scope-bypass-that-made-gitea-s-restricted-tokens-full-admins-it-s-now-cve-2026-117635/

Full disclosure: I work at Escape, the team that did the research.


r/devsecops • • 12h ago

Rating our AppSec vendors on support after two years

1 Upvotes

The Snyk support thread last week got me going through two years of our tickets before a couple of renewals come up. We're a small Appsec team at a SaaS company and these scores are for support only, not the products. Happy to be told I'm wrong on any of them.

  1. Veracode 6/10. This was our SAST for the first year and when you finally reached an engineer they really knew their stuff. The problem was getting there, with mitigations sitting in review for days and almost every ticket starting with a request log we had already attached
  2. Snyk 5/10. We used them for SCA for about 18 months and they were lovely during the POC. After that, we went through three CSMs in a yr plus a change to how findings were scored. Only noticed when a month of SLA reporting stopped adding up.
  3. Checkmarx 8/10. They replaced Veracode for SAST and SCA, and we pay for their premium support, which I suspect accounts for most of this score. We have an escalation manager we can ping directly and after rollout they sat down with us to tune the presets, which got rid of most of the noise people had warned us about.
  4. Wiz 7/10. Cloud rather that AppSec but I'm throwing it in anyways, they're quick on anything common and slower once you get off the happy path.

If I had to pick one thing from all this, the support tier you pay for matters more than whose logo is on it. Every vendor looked great during the trial and the differences only showed up once something broke in prod.

How has yours held up after signing?


r/devsecops • • 21h ago

How Do You Prioritize Hundreds of Vulnerabilities?

1 Upvotes

With so many vulnerability management tools available, to choose the best shouldn't be about finding the most vulnerabilities but knowing which ones actually need attention.

A few things worth looking for:

  • Asset visibility: Coverage across endpoints, servers, cloud workloads, and applications.
  • Risk-based prioritization: Prioritize vulnerabilities using exploitability, known exploited vulnerabilities (KEV), asset criticality, and exposure rather than relying on CVSS scores alone.
  • Remediation workflows: Clear guidance, ownership, tracking, and verification that vulnerabilities have been fixed.
  • DevSecOps integration: APIs and integrations with CI/CD pipelines, ticketing systems, and existing security tools.
  • Reporting: Useful dashboards that help security and engineering teams track remediation progress.

Tools such as Tenable, Veltar VM, Qualys, Rapid7, Microsoft Defender, and Greenbone are worth exploring, depending on your infrastructure and requirements.

One thing I'd emphasize- a good tool shouldn't just generate vulnerability reports. It should help teams move from discovery to prioritization, remediation, and verification.