-
-
Notifications
You must be signed in to change notification settings - Fork 244
GHSA/SYNC: (Two new, updated 4, renamed 2, ignored 2) advisories #1190
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
jasnow
merged 8 commits into
rubysec:master
from
jasnow:ghsa-syncbot-2026-07-29-14_32_35
Jul 31, 2026
Merged
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
90d92a4
GHSA/SYNC: (Two new, updated 4, renamed 2, ignored 2) advisories
jasnow e7df025
Add OSV link for vulnerability GHSA-pmwx-rm49-xv39
jasnow a3838e2
Merge branch 'master' into ghsa-syncbot-2026-07-29-14_32_35
jasnow 05d9125
Add GitLab advisory link to GHSA-pmwx-rm49-xv39
jasnow e9ed67a
Update CVE-2026-54659.yml with new URL and details
jasnow 341d191
Update CVE-2026-54619.yml with CVSS details
jasnow 0bbed68
Update CVE-2026-54620.yml with unaffected versions
jasnow 8522b49
Update CVE-2026-54619.yml to remove unaffected_versions
jasnow File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,43 @@ | ||
| --- | ||
| gem: activerecord-tenanted | ||
| ghsa: pmwx-rm49-xv39 | ||
| url: https://github.com/basecamp/activerecord-tenanted/security/advisories/GHSA-pmwx-rm49-xv39 | ||
| title: ActiveRecord::Tenanted::Storage::DiskService#path_for has a | ||
| possible path traversal | ||
| date: 2026-07-29 | ||
| description: | | ||
| ### Summary | ||
|
|
||
| Active Record Tenanted's override of Active Storage's `DiskService#path_for` | ||
| does not validate that the resolved filesystem path remains within | ||
| the storage root directory. If a blob key containing path traversal | ||
| sequences (e.g. `../`) is used, it could allow reading, writing, or | ||
| deleting arbitrary files on the server. Blob keys are expected to be | ||
| trusted strings, but some applications could be passing user input | ||
| as keys and would be affected. | ||
|
|
||
| ### Mitigation | ||
|
|
||
| Upgrade to Active Record Tenanted v0.7.0 or later. | ||
|
|
||
| As a workaround, do not use untrusted user input as blob keys. Blob | ||
| keys are expected to be trusted strings. | ||
|
|
||
| ### Credit | ||
|
|
||
| This issue was responsibly reported by @tonghuaroot. | ||
| cvss_v4: 2.3 | ||
| patched_versions: | ||
| - ">= 0.7.0" | ||
| related: | ||
| url: | ||
| - https://github.com/basecamp/activerecord-tenanted/security/advisories/GHSA-pmwx-rm49-xv39 | ||
| - https://github.com/basecamp/activerecord-tenanted/releases/tag/v0.7.0 | ||
| - https://github.com/basecamp/activerecord-tenanted/pull/307 | ||
| - https://github.com/basecamp/activerecord-tenanted/commit/b242c8ad9bf58bbd7f5a032d153b0f29db54b9ba | ||
| - https://osv.dev/vulnerability/GHSA-pmwx-rm49-xv39 | ||
| - https://advisories.gitlab.com/gem/activerecord-tenanted/GHSA-pmwx-rm49-xv39 | ||
| - https://github.com/rails/rails/security/advisories/GHSA-9xrj-h377-fr87 | ||
| - https://github.com/advisories/GHSA-pmwx-rm49-xv39 | ||
| notes: | | ||
| - No CVE in GHSA |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,42 @@ | ||
| --- | ||
| gem: pagy | ||
| cve: 2026-54659 | ||
| ghsa: 2xmw-f8j8-wfxc | ||
| url: https://nvd.nist.gov/vuln/detail/CVE-2026-54659 | ||
| title: Pagy I18n locale option is not validated before being used in a file path | ||
| date: 2026-07-28 | ||
| description: | | ||
| ### Summary | ||
|
|
||
| `Pagy::I18n.locale=` did not validate its argument before using it as a | ||
| path component to load the matching dictionary file (`<locale>.yml`). An | ||
| application that assigns untrusted input to the locale — e.g. the common | ||
| pattern `Pagy::I18n.locale = params[:locale]` — let that input influence | ||
| which file Pagy attempted to load. | ||
|
|
||
| ### Impact | ||
|
|
||
| Information disclosure (CWE-22 / CWE-200): a file-existence / readability | ||
| oracle for `.yml` paths on the host, plus a server-side read of | ||
| attacker-chosen files into the process. The file contents are not | ||
| returned in the response. | ||
|
|
||
| Only applications that pass **unsanitized end-user input** into | ||
| `Pagy::I18n.locale=` are affected. Applications that set the locale from | ||
| trusted values are not affected. | ||
| cvss_v4: 6.9 | ||
| unaffected_versions: | ||
| - "< 43.0.0" | ||
| patched_versions: | ||
| - ">= 43.5.6" | ||
| related: | ||
| url: | ||
| - https://nvd.nist.gov/vuln/detail/CVE-2026-54659 | ||
| - https://github.com/ddnexus/pagy/releases/tag/43.5.6 | ||
| - https://github.com/ddnexus/pagy/pull/908 | ||
| - https://github.com/ddnexus/pagy/commit/efcf09690e9fa7d7abdfb987b785a55f87e287df | ||
| - https://advisories.gitlab.com/gem/pagy/CVE-2026-54659 | ||
| - https://github.com/ddnexus/pagy/security/advisories/GHSA-2xmw-f8j8-wfxc | ||
| - https://github.com/advisories/GHSA-2xmw-f8j8-wfxc | ||
| notes: | | ||
| - cvss_v4 from GHSA |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.