OSV 1.4.0 · github-reviewed · 修改于 2026-07-02 04:16
发布时间
2026-07-02 04:16
GitHub 审查时间
2026-07-02 04:16
NVD 发布时间
—
源文件
advisories/github-reviewed/2026/07/GHSA-6g9v-7gq3-p2c6/GHSA-6g9v-7gq3-p2c6.json
A record user with UPDATE access could read field values that field-level SELECT permissions hid from them. Arithmetic operators and extend embedded the raw operand into their error messages, and UPDATE permission checks evaluate against the unreduced document — so triggering such an error against a hidden field returned its value in the resulting error.
A record user issues an UPDATE that performs an incompatible operation against a hidden field — e.g. UPDATE person:me SET probe = email + 1 when email is a string — and reads the value from the returned error (Tried to compute "[email protected]" + 1 …). One field per operation, but the attacker can repeat against any field on any record they can UPDATE.
A patch has been introduced that replaces the raw operand in every try_* operator and in extend with the operand's type name ("string", "int", "array", etc.).
Affected users who are unable to update should not grant UPDATE permission on records whose field-level SELECT permissions are expected to hide values from the same caller.