The OWASP Top 10 Explained (With Fixes)
A working engineer's tour of the OWASP Top 10, each risk paired with the concrete fix that actually closes it in production.
Key takeaways
- The current OWASP Top 10 is the 2025 edition, led by Broken Access Control, Security Misconfiguration and Software Supply Chain Failures.
- SSRF now sits inside access control, and Mishandling of Exceptional Conditions is new.
- Close access control and injection first with server-side ownership checks and parameterized queries, then automate misconfiguration and supply-chain checks in CI.
On this page
The OWASP Top 10 is a ranked list of the most critical web application security risks, and the current edition is 2025. It opens with Broken Access Control, Security Misconfiguration and Software Supply Chain Failures. The highest-value fixes are server-side ownership checks, parameterized queries, hardened config baselines and a pinned, scanned dependency pipeline.
Verified against
OWASP Top 10:2025 (the 8th edition), against the top10.owasp.org 2025 list and introduction pages. Checked October 2026.
The list gets cited in every pentest report and half the security-vendor pitches, usually as a checklist someone waves at an auditor. That's a waste. It's the most reliable map we have of where real applications actually break. The 2025 edition reshuffled the 2021 order: SSRF was rolled into Broken Access Control, Vulnerable and Outdated Components grew into Software Supply Chain Failures, and Mishandling of Exceptional Conditions is new.
This is a hub. Each category links to a deeper post where one exists, and it all rolls up into our application security best practices guide.
A01: Broken Access Control
A user reaches data or actions that should be off-limits, usually by changing an ID in the URL or calling an endpoint the UI never exposed. It stays number one because authorization is enforced per-endpoint and it's easy to miss one. The fix: deny by default and check ownership on every server-side request, never trust a client-supplied role or object ID. See API security best practices.
# Don't just fetch by ID from the URL; scope it to the caller
invoice = Invoice.query.filter_by(
id=invoice_id,
org_id=current_user.org_id, # ownership check, server-side
).first_or_404()
Server-Side Request Forgery lives here now. The server is tricked into requesting a URL an attacker controls, often the cloud metadata endpoint at 169.254.169.254 to steal credentials. Allowlist outbound destinations, block internal and link-local ranges, and disable unused URL schemes. The full treatment is in SSRF explained.
A02: Security Misconfiguration
Default credentials, verbose error pages, open cloud buckets, or a framework that shipped permissive out of the box. It moved up to second because every layer has knobs and the safe setting is rarely the default. The fix: hardened baselines, least-privilege config, and response headers that lock down browser behavior. See HTTP security headers and the security misconfiguration guide.
A03: Software Supply Chain Failures
OWASP describes this as an expansion of the 2021 Vulnerable and Outdated Components category to a broader scope. It still covers the library or base image with a known CVE several dependencies deep, but it also covers tampered packages, compromised build systems and unpinned CI actions. Most of your codebase is code you didn't write, so this is where a lot of real exposure lives. The fix: maintain an inventory, scan continuously, pin and verify what you pull, and patch on a schedule instead of when something explodes. See dependency and SCA scanning and software supply chain attacks.
A04: Cryptographic Failures
Sensitive data is exposed because it wasn't encrypted, or was protected with something weak like MD5 or a hardcoded key. This is the category behind most "passwords leaked in plaintext" headlines. The fix: TLS everywhere in transit, AES-256 or equivalent at rest, and password hashing with bcrypt, scrypt, or Argon2, never a raw hash.
A05: Injection
Untrusted input gets interpreted as code or a query, letting an attacker read your database or run commands. SQL injection is the classic, but the same flaw covers OS command, LDAP, NoSQL and browser-side script injection. The fix: parameterized queries and safe APIs, so user input is always data and never syntax.
# Parameterized: the driver handles the value, no string concat
cur.execute("SELECT * FROM users WHERE email = %s", (email,))
Deeper dives: preventing SQL injection and, for the browser side of injection, preventing XSS.
A06: Insecure Design
The vulnerability is baked into the architecture, not a coding mistake, like a password-reset flow that leaks whether an account exists. You can't patch your way out of a bad design; the flaw survives every code review. The fix: threat model before you build, and design in controls like rate limits and abuse cases. See threat modeling.
A07: Authentication Failures
Weak passwords, no brute-force protection, guessable session tokens, or credential stuffing that walks right in. A broken login undoes every other control you built. The fix: enforce MFA, rate-limit and lock out on failed attempts, and use a battle-tested session framework rather than rolling your own. See authentication and session security.
A08: Software or Data Integrity Failures
Your code or data is trusted without verifying it wasn't tampered with: an unsigned auto-update, deserializing untrusted objects, or a pipeline that accepts artifacts it never verified. It overlaps A03, but A03 is about what you pull in and A08 is about whether you check integrity before you trust it. The fix: verify signatures, sign your own artifacts, and protect the build pipeline as if it were production, because it is. SBOMs and attestations are the practical tooling here.
A09: Security Logging and Alerting Failures
An attack happens and nobody sees it, because logins, access-control denials, and server errors aren't logged, or they are logged and nothing alerts. The rename from "Monitoring" to "Alerting" is the point: logs nobody acts on don't count. The fix: log security-relevant events with enough context to trace an incident, ship them somewhere tamper-resistant, and alert on the patterns that matter.
A10: Mishandling of Exceptional Conditions
New in 2025, with 24 CWEs. OWASP frames it around improper error handling, logical errors and failing open. Think of an authorization check that throws, gets caught by a generic handler, and lets the request through, or an error page that dumps a stack trace with connection strings. The fix: fail closed by default, catch exceptions at a deliberate boundary, return generic errors to clients, and test the unhappy paths (timeouts, malformed input, a dependency that's down) as seriously as the happy ones.
How to actually use this list
Don't treat the Top 10 as a linear checklist you tick once a year. Use it as a coverage map. Take your real endpoints and ask, for each category, where in this system could this happen and what already stops it. Access control and injection will account for the bulk of your real findings, so weight your time there. Wire the mechanical categories (supply chain, misconfiguration) into CI so they're caught continuously instead of during an audit crunch, and reserve human review for what a scanner can't see: insecure design, broken access-control logic and fail-open error paths.
Questions people ask
What is the latest version of the OWASP Top 10?
The latest edition is the OWASP Top 10:2025, the eighth installment of the list. It replaced the 2021 edition as the current release on top10.owasp.org. Broken Access Control is still number one, Security Misconfiguration rose to second, Software Supply Chain Failures is third, and Mishandling of Exceptional Conditions is a new entry at tenth place.
What changed between the OWASP Top 10 2021 and 2025?
Three structural changes. SSRF, a standalone category in 2021, was rolled into Broken Access Control. Vulnerable and Outdated Components expanded into Software Supply Chain Failures, covering compromised builds and dependencies as well as known CVEs. Mishandling of Exceptional Conditions is new and covers error handling and failing open. Several other categories moved position, and logging was renamed to Logging and Alerting Failures.
Which OWASP Top 10 risk should I fix first?
Broken Access Control, then Injection. Server-side ownership checks on every request and parameterized queries everywhere are cheap, and together they close the categories that dominate real findings. After that, automate Security Misconfiguration and Software Supply Chain Failures in CI with config scanning and dependency scanning, so they stay closed without anyone remembering to look.
The call we'd make
If you're starting cold, close A01 and A05 first. Parameterized queries and server-side ownership checks eliminate the two categories that show up most in real findings, and they're cheap. Then automate A02 and A03 in the pipeline so they stay closed without anyone remembering to look. The rest is real work, but that sequence buys down the most risk per hour spent, and it's the order we'd run it in on a system we owned.
Sources
Cite this article
Kiril Urbonas (2026). The OWASP Top 10 Explained (With Fixes). DevOpsNess. Updated 2026-10-31. https://www.devopsness.com/blog/owasp-top-10-explained
[The OWASP Top 10 Explained (With Fixes)](https://www.devopsness.com/blog/owasp-top-10-explained) (Kiril Urbonas, DevOpsNess, updated 2026-10-31)
More from DevOps
Explore more articles in this category
kaniko CVE-2026-105769: Lookalike ACR Hosts Get Your Azure Token. Rebuild on v1.25.20
A FROM line pointing at a host like x.azurecr.io.attacker.com is enough to make kaniko hand the build's Entra ID token to that host. Which kaniko forks and images are affected, how to find Azure identities in your build pods, and what to rotate.
Sign Container Images With Cosign: Keyless GitHub Actions Workflow, SBOM and In-Cluster Checks
One workflow that builds, signs keylessly with GitHub OIDC, attaches an SBOM and SLSA provenance, plus the Kyverno policy that refuses anything unsigned. Copy it, change three names, ship it.
GitLab CVE-2026-110264: A Second CVSS 10 RCE in Nine Days. Patch to 19.5.1
An unauthenticated regex-compiler RCE reaching back to GitLab 7.0, no workaround, and backports on older branches that fix only the critical bug. The exact version per branch and the commands to get there.
You might have missed
Evergreen posts worth revisiting.