Skip to content

Fix the PostgreSQL escape-string bypass in read-only SQL in the next release #630

Closed

Description

@Sev7eNup

The finding in #612 (sensitive columns pass the read-only SQL guard through a PostgreSQL E-string and a result alias) is not part of 1.5.2. The fix needs a provider-aware parse, or an explicit rejection of syntax the guard does not understand, plus a regression test. That is too much change for a release that is already built and in the lab.

It goes into the release after 1.5.2. Problem, evidence and acceptance criteria stay in #612.

Activity

  1. Sev7eNup commented on Oct 24, 2026

    @Sev7eNup
    OwnerAuthor

    Already fixed on main by #635 (fixes #612): escape-string literals are rejected in read mode before execution, with regression tests for the guard, the DB admin controller and the knowledge reader.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions