Exhibits
CVE-2026-118423: WP Libre Form Asked the Question in 2016. The CVE Is the Answer.. The author of WP Libre Form wrote // Is this enough security wise? above the file-upload loop in 1.1 (2016-10-26), when every upload went through media_handle_upload() and the answer was yes. A later release added a per-form toggle that put the raw move_uploaded_file() call on the default path; the comment survived the refactor two spaces indented, same characters, now sitting above code whose answer had flipped. Seven more tagged releases shipped. The question never got an answer. CVE-2026-118423 is its answer. The plugin's REST-route registration carries two additional self-doubt comments the author left on the same handler in the same commit range; the exhibit is three warnings in two files by one hand, none of them acted on.
CVE-2026-1368: The Patch Is Two Characters. The Line Was in the File.. This is the pattern in its strict-canonical form. The catalog's boundary clause on todo-that-shipped distinguishes it from commented-out-code-is-testimony by saying the named control's only manifestation must be the comment. CVE-2026-1368 is one step further along that spectrum: the control's only manifestation is a working line of code with two characters of comment marker in front of it. check_ajax_referer( '_nonce_zvc_security', 'noncce' ) was written. Someone added // and shipped. The line lived through seventeen point releases of a multi-year commercial WordPress plugin while the bundled WebSDK kept POSTing the field name the commented line was guarding. The patch removes two characters. The fix did not have to be authored. It had to be uncommented.
CVE-2026-6433: WordPress Closed This Plugin in 2021. The CVE Caught Up Five Years Later.. CVE-2026-6433 is the pattern with the comment punctuated by a smiley face. fc_ajax_call reads $_POST['operation'] and dispatches to $this->$operation($value) for an unauthenticated caller, above the line //Check Security(Nonce) @ Operation Method Instead Of Here :). The named control (check_ajax_referer) exists in the codebase three hundred lines away in the sibling handler wcjp_ajax_call. The developer knew the call, wrote it once, and wrote a comment in its place in the other handler. The operation method the comment delegated to, wce_editor_inline_code, does not check the nonce either; it was a shortcode renderer the dispatcher exposed as an AJAX target by accident. The comment is the only manifestation of a nonce check on this code path, and the smiley face is the developer's punctuation on the decision to ship without it.
CVE-2026-9082: The Comment Said Use the Array Values. A 2020 Refactor Started Using the Keys.. The canonical Todo That Shipped is a comment naming a control that was never written. This post documents the variant where the control was written, lived under the comment for five and a half years, and was deleted by a 2020 refactor that left the comment standing. The 2026 patch is array_values(), the exact function call the comment names. The grep target for both attacker and defender is the same line of source.
CVE-2026-4802: Cockpit's 2021 Comment Named the Fix. The 2026 Patch Kept the Shell.. CVE-2026-4802 is the pattern with a twist on what the TODO names. Canonical exhibits of todo-that-shipped have the comment naming a missing control (uncomment this check_ajax_referer, install this ValidatingObjectInputStream, constrain this issuer). The Cockpit comment goes one layer up: it names the interpreter as the wrong choice, not a missing control on the call into it. "Ideally this would use --output cat --output-fields SYSLOG_IDENTIFIER and do without sh -ec, grep, sort, replaceAll and all of those ugly stuff." The author understood in March 2021 that the architecture (build a shell string from URL parameters, hand it to /bin/bash -ec) was the problem. They linked the systemd issue whose resolution would let them remove the shell. They shipped the shell. April 2026's patch landed the canonical shlex.quote-style escape, called the fix "trivial" in the commit message, and left the 2021 comment in place three lines above. The pattern's playbook clause about sorting TODOs by age is the operative instruction here: the comment was sixty-one months old when the researcher found it.
CVE-2026-27478: Unity Catalog's JWT Verifier Asks the Token Where Its Key Lives. The Javadoc on grantToken in commit 9717a3b (August 26, 2024) named the gap correctly: "Currently the issuer for the incoming token to validate is not constrained to a specific identity provider, rather as long as the token is signed by the matching issuer the validation succeeds. Eventually this should be constrained to a specific identity provider..." The fix landed in commit 89b91863 on March 12, 2026, eighteen and a half months later, replacing the Javadoc with one that names the new server.allowed-issuers allowlist. Unlike most exhibits of this pattern, the TODO was not a stray // TODO deep inside a method; it was the public-facing API documentation directly above the route handler, the contract every downstream developer reading the file consulted to understand what the endpoint did. The bug was the documented behavior.
CVE-2026-42779: Apache MINA Shipped the Fix on One Branch. The Same Day, Two Other Branches Shipped the Bug.. The 2.2.7 patch carries two TODOs in the same function. The comment on the type-1 path reads "Use initialize=false to prevent static block execution during class loading"; the line below passes true. Earlier, the 2024-11-06 commit that introduced the acceptMatchers feature deleted (rather than uncommented) a years-old line invoking Apache Commons IO's ValidatingObjectInputStream, which is the correctly-layered allowlisting deserializer. The codebase named the right control twice and, in the same commit each time, declined to install it. The CVE that follows is the gap each comment described.
CVE-2026-6145: User Registration's is_admin_creation_process() Was a String Comparison. The Annotation Above It Named the Missing Check.. CVE-2026-6145 is the suppression-directive variant of the pattern. Canonical todo-that-shipped exhibits have a developer's own comment naming a security control the adjacent code does not install (uncomment this check_ajax_referer, install this ValidatingObjectInputStream, constrain this issuer); the comment is the codebase's testimony that the gap was seen and deferred. Here the comment is a phpcs:ignore WordPress.Security.NonceVerification.Recommended directive: the developer read a static-analyzer warning, named the rule the analyzer was firing, and shipped the unguarded read with a comment that silenced the analyzer. The named control (nonce verification on a $_REQUEST read) was never written. The directive landed in version 3.3.0 on 1 August 2024, twenty-one months before the CVE; the function body it annotates landed in version 1.0.4 on 31 August 2017. The 5.1.6 patch adds the surrounding is_admin() / current_user_can() checks that make the $_REQUEST read safer to suppress, and leaves the phpcs:ignore directive on the patched function.
CVE-2026-44403: Wing FTP's Patch Is JavaScript. The PoC Is Python.. The pattern's canonical form is a TODO comment naming a control that was never written. Wing FTP exhibits the stricter variant where the control was written, sits in the file complete, and was disabled with two characters: --v = string.gsub(v,"%[","") and --v = string.gsub(v,"%]","") in both cgi.lua and cgiadmin.lua, with --setmetatable(_SESSION,session_metatable) three lines below to ensure the metatable that would invoke them never installs. The pattern's playbook clause about sorting comments by age is the operative instruction: cgiadmin.lua carries a June 2023 timestamp on the tarball. The bracket-stripping comments are older than CVE-2025-47812, older than the CISA KEV listing for that CVE, older than the v7.4.4 patch the vendor wrote sitting next to them in the same source tree. Two CVE cycles have walked past the comments. The fix did not have to be authored; it had to be uncommented. The vendor has not uncommented it.
CVE-2024-22120: Zabbix's Audit Log Is the Read Primitive. The patch for CVE-2024-22120 added three lines of comment to nodecommand.c explaining that the project's IPv6 address validator could not distinguish RFC-legal zone identifiers from injection payloads, so input validation on clientip was abandoned at the dispatch site, with the future-tense promise that it could be added back if the validator improved. The named control has no implementation in the file. The comment is the only manifestation. What makes this exhibit specific is the timing: the TODO did not pre-date the CVE by years; it landed inside the security commit, naming the gap that would feed the next sink to use clientip in a string-building context.
Defender playbook
Grep your own security-sensitive codebases for TODO, FIXME, XXX, HACK in paths that handle authentication, input parsing, filesystem operations, subprocess spawning, or template rendering. Sort by age (git blame). Anything older than eighteen months is accumulated technical debt with security implications; act on it or remove the comment with an explicit decision.
Treat a TODO next to unsafe code as a shipped vulnerability, not a note. If the code is in production and the TODO describes a control that is not in place, you have the vulnerability regardless of whether anyone has weaponized it yet. The comment is the codebase telling you it exists.
When reviewing dependencies, grep their source the same way. grep -rE 'TODO|FIXME|XXX|HACK' vendor/ is a cheap audit that consistently surfaces latent issues in libraries you depend on. Upstream a fix or plan a migration before the library's own CVE makes the decision for you.
Do not accept "that's from the previous team" as a disposition. Code you run is code you own. If a TODO pre-dates your tenure and the control is absent, the control is absent in your deploy. Fix it or accept it as a risk with a signed owner, but do not let it sit unattributed.
In code review, reject new commits that add a TODO next to unsafe code unless the commit also includes a ticket reference with a bounded timeline. A TODO with no owner and no date is a forever-TODO, and forever-TODOs become shipped vulnerabilities by default.
The codebase wrote the sentence before the attacker did. The attacker just read the repository.