Skip to content

Fix job_errors view leaking failed jobs to non-owners - #9799

Merged
svenklemm merged 1 commit into
mainfrom
sven/job_errors
May 13, 2026
Merged

Fix job_errors view leaking failed jobs to non-owners#9799
svenklemm merged 1 commit into
mainfrom
sven/job_errors

Conversation

@svenklemm

Copy link
Copy Markdown
Member

A missing pair of parentheses made operator precedence apply the role
check only to crash rows. Failed jobs bypassed the check, so any user
could see error details from other users' jobs.

@svenklemm
svenklemm requested a review from a team May 13, 2026 06:44
@github-actions
github-actions Bot requested review from dbeck and pnthao May 13, 2026 06:44
@github-actions

Copy link
Copy Markdown

@pnthao, @dbeck: please review this pull request.

Powered by pull-review

@codecov

codecov Bot commented May 13, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@svenklemm svenklemm added this to the 2.27.1 milestone May 13, 2026
A missing pair of parentheses made operator precedence apply the role
check only to crash rows. Failed jobs bypassed the check, so any user
could see error details from other users' jobs.
@svenklemm
svenklemm merged commit f752620 into main May 13, 2026
61 of 64 checks passed
@svenklemm
svenklemm deleted the sven/job_errors branch May 13, 2026 19:25
@svenklemm svenklemm added the force-auto-backport Automatically backport this PR or fix of this issue, even if it's not marked as "bug" label May 19, 2026
@surister surister mentioned this pull request May 19, 2026
surister pushed a commit that referenced this pull request May 19, 2026
# TimescaleDB Changelog

**Please note: When updating your database, you should connect using
This page lists all the latest features and updates to TimescaleDB. When
you use psql to update your database, use the -X flag and prevent any
.psqlrc
commands from accidentally triggering the load of a previous DB
version.**

## 2.27.1 (2026-05-19)

This release contains performance improvements and bug fixes since the
2.27.0 release. We recommend that you upgrade at the next available
opportunity.

**Bugfixes**
* [#9795](#9795) Delete
orphaned `compression_settings` before migrating catalog table
* [#9799](#9799) Fix
`job_errors` view leaking failed jobs to non-owners
* [#9800](#9800) Check
hypertable ownership before recompression
* [#9801](#9801) Fix
information leak in `policy_reorder_remove`
* [#9824](#9824) Adding
migration scripts for composite bloom filters
* [#9828](#9828) Skip
columnar index scan when grouping by an expression
* [#9830](#9830) Skip
`ColumnarIndexScan` for GROUPING SETS / ROLLUP / CUBE

**Thanks**
* @homanp for reporting an information leak with the job_errors view
@timescale-automation timescale-automation added the released-2.27.1 Released in 2.27.1 label May 19, 2026
@timescale-automation timescale-automation added the released-2.28.0 Released in 2.28.0 label Jun 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backported-2.27.x force-auto-backport Automatically backport this PR or fix of this issue, even if it's not marked as "bug" released-2.27.1 Released in 2.27.1 released-2.28.0 Released in 2.28.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants