Skip to content

fix(sqlite): update bundled SQLite past RUSTSEC-2026-0459 - #1028

Merged
GraciousGazelles merged 3 commits into
mainfrom
fix/rustsec-2026-0459-20261109
Nov 9, 2026
Merged

GraciousGazelles merged 3 commits into
mainfrom
fix/rustsec-2026-0459-20261109

Conversation

@GraciousGazelles

Copy link
Copy Markdown
Collaborator

This PR addresses RUSTSEC-2026-0459 / CVE-2026-119375 for the bundled SQLite used by SQLx.\n\nCurrent main resolves libsqlite3-sys 0.37.0. RustSec marks 0.6.0 through 0.38.2 affected and 0.39.0+ patched. Published SQLx 0.9.0 caps libsqlite3-sys below 0.38. SQLx upstream PR openai#4502 merged as 10462fa4414c6c7f1ed1d39bb31678e3b726878c raises the bound to permit 0.39.x, so this pins the upstream workspace at that exact commit and raises the direct workspace dependency to 0.39.\n\nThe SQLx pin is temporary: replace it with the first released SQLx 0.9.x containing PR openai#4502 and return to crates.io. No database schema or migration changes, cargo-deny policy changes, or installed user data changes are included.\n\nHosted qualification is pending. Use the existing exact-source workflow on a standard GitHub-hosted runner to generate both Cargo and Bazel locks, then run the existing required protected checks. No local builds or tests were run. The exact upstream commit includes source changes since released 0.9.0, so compatibility with the current Codex source must be established by the required hosted checks before merge.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates libsqlite3-sys to version 0.39 to address a security advisory (RUSTSEC-2026-0459) and introduces a temporary security pin for sqlx pointing to a GitHub repository. The reviewer suggests pointing this temporary dependency to the official upstream repository (launchbadge/sqlx) instead of the transact-rs fork, as the specified commit is already available upstream.

Comment thread codex-rs/Cargo.toml Resolved
@GraciousGazelles
GraciousGazelles marked this pull request as ready for review November 9, 2026 13:11
@GraciousGazelles
GraciousGazelles added this pull request to the merge queue Nov 9, 2026
Merged via the queue into main with commit 94194aa Nov 9, 2026
101 checks passed
@GraciousGazelles
GraciousGazelles deleted the fix/rustsec-2026-0459-20261109 branch November 9, 2026 13:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant