CVE-2026-60137

NameCVE-2026-60137
DescriptionWordPress 6.8.x before 6.8.6, 6.9.x before 6.9.5, and 7.0.x before 7.0.2 does not properly sanitise the author__not_in parameter of WP_Query, which could allow SQL Injection when a plugin or theme passes untrusted input to the parameter.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDSA-6399-1
Debian Bugs1142510

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
wordpress (PTS)bullseye5.7.11+dfsg1-0+deb11u1fixed
bullseye (security)5.7.14+dfsg1-0+deb11u1fixed
bookworm, bookworm (security)6.1.9+dfsg1-0+deb12u1fixed
trixie6.8.3+dfsg1-0+deb13u1vulnerable
trixie (security)6.8.6+dfsg1-0+deb13u1fixed
forky, sid7.0.2+dfsg1-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
wordpresssourcebullseye(not affected)
wordpresssourcebookworm(not affected)
wordpresssourcetrixie6.8.6+dfsg1-0+deb13u1DSA-6399-1
wordpresssource(unstable)7.0.2+dfsg1-11142510

Notes

[bookworm] - wordpress <not-affected> (Vulnerable is_array-gated author__not_in handling introduced in 6.8; shipped version applies absint unconditionally)
[bullseye] - wordpress <not-affected> (Vulnerable is_array-gated author__not_in handling introduced in 6.8; shipped version applies absint unconditionally)
https://github.com/WordPress/wordpress-develop/security/advisories/GHSA-fpp7-x2x2-2mjf
https://wordpress.org/news/2026/07/wordpress-7-0-2-release/
https://github.com/WordPress/wordpress-develop/commit/74d37a344cbf28e9187a1a5ca71b33d186bcd333 (7.0.2)
https://github.com/WordPress/wordpress-develop/commit/6f2074dda61864a03f334d70414d1690ce7e5c79 (6.9.5)
https://github.com/WordPress/wordpress-develop/commit/c62f8c47314727184124b1227a00ee2eef546231 (6.8.6)

Search for package or bug name: Reporting problems