GitHub’s changelog lists these changes for CodeQL 2.27.4.
Java and Kotlin: java/log-injection now recognises more sanitizers and sanitizer guards from the JDK, Apache Commons Lang and Text, Guava, OWASP Java Encoder and Spring Framework, and the path-injection queries recognise more substring guards and string replacement and removal operations from Apache Commons Lang and Guava.
Rust: fewer false positives in rust/uncontrolled-allocation-size, rust/log-injection and rust/cleartext-logging. C and C++: cpp/suspicious-pointer-scaling no longer flags intentional pointer arithmetic on std::byte* buffers, and the unused local and static variable queries no longer flag variables marked [[maybe_unused]].
Metadata and CLI: the CWE-730 tag was removed from ReDoS, regex-injection and related queries across C#, Java/Kotlin, JavaScript/TypeScript, Python, Ruby and Swift. JVM warnings and initialisation errors now go to standard error so they do not corrupt JSON output, and when bundling or publishing a pack the CLI checks that each file stays inside the pack root after resolving symbolic links, omitting any that do not and showing a warning.
Source: GitHub Changelog.