Writing
cve analysis
26 articles on this subject.
Insecure data storage on Android: CVE-2018-19981 and the token sitting in plaintext
An access token in SharedPreferences, a password in a log, an admin credential on the SD card. Android isolates app storage well, and then the app writes secrets where isolation does not reach, or where a backup carries them off the device. What to check, where each secret hides, and what to use instead.
8 min read
Insecure LLM output handling: CVE-2024-5565 and the model reply that ran as code
Prompt injection gets the model to say something. This is about what happens next: when a sink trusts the model's output and runs it, and when an agent with tools can reach further than anyone intended. The Vanna RCE, the LangChain exec chains, and how to bound both.
9 min read
CI/CD injection: CVE-2023-49291, pull_request_target, and the branch name that ran as your pipeline
A pull request title, a branch name, a commit message: all attacker-controlled, all substituted into a shell script before it runs. Combine that with a trigger that hands out write access and secrets, and a stranger's fork owns your pipeline. How the tj-actions bugs worked and how to find the pattern in your own workflows.
9 min read
Dependency confusion: CVE-2026-54232, torchtriton, and the package name nobody registered
A package name is not an address. When two indexes can answer for the same name, the resolver picks the winner, and in pip's default mode the winner is whoever published the higher version. How vLLM's build got caught, how PyTorch's did, and how to find the same gap in your own manifests.
9 min read
Your state file is a plaintext credential store: Terraform secrets and CVE-2024-47083
Terraform stores secrets in state in plaintext by design, and the tooling around it leaks the same secrets into logs and CI. CVE-2024-47083 is one named instance; the sensitive flag protects your terminal, not your state.
8 min read
Hardening off, namespaces on: container escape and CVE-2022-0492
A container escape is rarely about breaking a sandbox. It is about a capability or a mount the container should never have held. CVE-2022-0492 let a container without CAP_SYS_ADMIN obtain it inside new namespaces and reach root on the host through the cgroups release_agent.
8 min read
Reaching a service account that outranks you: Kubernetes RBAC escalation and CVE-2021-25742
Kubernetes RBAC escalation is rarely a broken authorizer. It is a verb whose blast radius you underestimated, or a component whose service account outranks the caller. ingress-nginx CVE-2021-25742 is the second kind.
8 min read
The bucket was never the secret: object storage exposure and presigned URL abuse
Public buckets, leaked credentials and over-scoped presigned URLs are three different object-storage failures with one outcome. MinIO CVE-2023-28432 shows why the keys, not the objects, are the prize.
9 min read
Subdomain takeover: the CNAME that outlived the thing it pointed at
A subdomain takeover happens when a DNS record still points at a cloud resource you already deleted, and an attacker recreates that resource to claim your subdomain. Here is the dangling-DNS distinction, a real CVE, a detector you can build against your own zone, and the decommissioning discipline that prevents it.
9 min read
SAML signature wrapping and Golden SAML: a valid signature on the wrong assertion
A SAML response can carry a genuine, valid signature and still be a forgery, because the service checks that a signature exists rather than that it covers the assertion it trusts. That gap is signature wrapping. Golden SAML is its post-compromise cousin. Here are the real CVEs, a lab, and the verification logic that closes both.
9 min read
Mass assignment: when the framework writes the fields you never meant to expose
Mass assignment is the binding mechanism behind a whole class of privilege-escalation bugs: the framework copies every key in the request body onto your object, including the ones you never put in the form. Here is how it differs from the BOPLA authorisation question, the real CVEs, a lab, and the allowlist that ends it.
8 min read
redirect_uri and the PKCE downgrade: two OAuth checks that fail open
OAuth redirect_uri validation and PKCE are two separate defences, and both fail the same way: they permit what they should refuse. Here is how loose redirect matching and a dropped code_challenge each hand an authorization code to an attacker, with the real CVEs, a lab, and the exact server-side checks that close them.
9 min read
The document that reads your filesystem: XXE in docx, xlsx and SVG parsers
A docx, xlsx or SVG is a bundle of XML, and an XML parser that resolves external entities will fetch files and URLs on the attacker's behalf. CVE-2019-12415 in Apache POI is the office-document case. How XXE reaches an upload endpoint, how to find it, and how to turn it off.
9 min read
The cache said yes: web cache deception, cache poisoning, and CVE-2024-46982 in Next.js
Web cache deception stores a victim's private response for anyone to fetch; cache poisoning stores an attacker's response for everyone. Both come from the cache and the origin disagreeing about a URL. CVE-2024-46982 in Next.js is the current, well-documented case.
9 min read
One request, two lengths: HTTP request smuggling and the HAProxy Transfer-Encoding bug
CL.TE and TE.CL desync happen when two servers disagree about where a request ends. CVE-2019-18277 in HAProxy is the clean example: how the disagreement forms, how to find it safely, and how to shut it down.
8 min read
login failure for user -2 via ssh: triaging a compromised MikroTik RouterOS device
login failure for user -2 via ssh in a RouterOS log means the MikroTrick chain reached your router. What the -2 means, how to triage it, and what rebuild means.
13 min read
COPY ... TO PROGRAM in mail_logs: what Cisco's CVE-2026-76461 indicator actually means
COPY ... TO PROGRAM is a documented PostgreSQL feature that runs shell commands. Why Cisco's CVE-2026-76461 grep turns SQL injection into root, and how to hunt it.
12 min read
Indirect prompt injection: EchoLeak, CVE-2025-32711, and the email nobody opened
A crafted email sitting unread in an inbox was enough to make Microsoft 365 Copilot exfiltrate internal data. The injectable surface is every document the model reads, and the control that bounds it is least privilege on tools.
7 min read
Linux capabilities: root privileges without the SUID bit, and the container escape they enable
Capabilities split root into 40+ pieces, and about a dozen of them are still root. Which ones matter, how CVE-2022-0492 turned a cgroup detail into a container escape, and how to audit a host and an image.
7 min read
Sudo is a shell in disguise: CVE-2025-32463, GTFOBins, and reading sudo -l properly
A 9.3 in sudo itself, plus twenty ways a single sudoers line hands over root. How to read sudo -l like an attacker, why the chroot bug worked, and what a safe sudoers policy looks like.
7 min read
Encrypted is not authenticated: padding oracles, ViewState, and why leaked machine keys became a 2025 problem
CBC without a MAC lets an attacker decrypt and forge ciphertext using nothing but the server's error behaviour. The mechanism from first principles, the Telerik and ASP.NET cases, and the one rule that removes the class.
7 min read
JWT: alg confusion, kid injection, and the day Java accepted a signature of zero
A JSON Web Token is only as good as the verification code. Five failure modes with concrete examples, including CVE-2022-21449, where an all-zero ECDSA signature validated against any key on Java 15 through 18.
9 min read
GraphQL has no authorisation layer: aliases, batching, and the resolvers everyone forgets
GraphQL moves authorisation from the route to the resolver, and most teams only notice half of them. Introspection, alias multiplication, batched mutations against rate limits, and the complexity-DoS CVEs, with the fixes that actually hold.
8 min read
Argument injection: how a soft hyphen became CVE-2024-4577 and put 9.8 on the board
You escaped the shell metacharacters and the command still ran. Argument injection is the bug that survives shell-safe APIs, here is the mechanism, the PHP-CGI case that got mass-exploited, and the one-character fix.
7 min read
Pickle is a code format, not a data format: CVE-2025-32434 and the model file you just downloaded
torch.load(weights_only=True) was the recommended safe path, and it was bypassable. A practical look at Python deserialization, pickle, PyYAML and jsonpickle, how one gadget works, and what actually stops it.
12 min read
Server-side template injection: why {{7*7}} is a bad test, and how CVE-2023-22527 got to CVSS 10.0
Most SSTI write-ups teach one Jinja2 payload and stop. Here is the actual bug class, the per-engine probe table, a lab you can build in ten minutes, and the code-review rule that removes it entirely.
9 min read
Other subjects
- detection engineering33
- penetration testing30
- secure code review22
- web security15
- authorization9
- cloud security9
- active directory7
- api security7
- python7
- cryptography6
- ai security4
- container security4
- linux privilege escalation3
- ssrf3
- identity security2
- insecure deserialization2
- phishing2
- supply chain security2
- windows security2