CVE-2026-45573: Decidim: Push subscriptions can be abused for server-side requests
Description The push-subscription endpoint stores an attacker-controlled delivery URL, and the notification send path becomes an outbound-request sink when VAPID delivery is enabled. The practical result is an authenticated, stored, mostly blind SSRF primitive to arbitrary HTTPS endpoints reachable from the app server.
Published Jul 13, 2026
Affected packages
decidim-core
- Ecosystem
- RubyGems
- Affected
- < 0.30.9
- Fixed in
- 0.30.9
- Check
bundle info decidim-core
decidim-core
- Ecosystem
- RubyGems
- Affected
- >= 0.31.0.rc1, < 0.31.5
- Fixed in
- 0.31.5
- Check
bundle info decidim-core
decidim-core
- Ecosystem
- RubyGems
- Affected
- >= 0.32.0.rc1, < 0.32.0
- Fixed in
- 0.32.0
- Check
bundle info decidim-core
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Description
The push-subscription endpoint stores an attacker-controlled delivery URL, and the notification send path becomes an outbound-request sink when VAPID delivery is enabled. The practical result is an authenticated, stored, mostly blind SSRF primitive to arbitrary HTTPS endpoints reachable from the app server.
Technical description
When VAPID delivery is enabled, the notification subscription flow stores the client-supplied push endpoint without checking that it belongs to an approved push service. The send path later passes that stored URL to WebPush.payload_send, turning the subscription into an attacker-controlled outbound request destination. This is the source-to-sink chain:
- Source: attacker-controlled
subscription.endpointin the JSON body posted toPOST /notifications_subscriptions. - Persistence:
params[:endpoint]is stored underuser.notification_settings["subscriptions"]. - Retrieval:
user.notifications_subscriptions.valuesreturns that stored endpoint later. - Sink:
build_payloadsetsendpoint: subscription["endpoint"]. - Outbound request:
WebPush.payload_send(**payload)uses the attacker-supplied endpoint as the
destination.
One spec asserts that the endpoint is persisted exactly as supplied:
# decidim-core/spec/services/decidim/notifications_subscriptions_persistor_spec.rb
expect(user.notifications_subscriptions["auth_code_121"]["endpoint"]).to eq(params[:endpoint])Another spec asserts that SendPushNotification passes the stored endpoint into WebPush.payload_send:
# decidim-core/spec/services/decidim/send_push_notification_spec.rb
first_notification_payload = {
message:,
endpoint: subscriptions["auth_key_1"]["endpoint"],
p256dh: subscriptions["auth_key_1"]["p256dh"],
auth: subscriptions["auth_key_1"]["auth"],
vapid: a_hash_including(...)
}
expect(WebPush).to receive(:payload_send).with(first_notification_payload)Impact
- In a configured deployment, an authenticated user can register an attacker-controlled or otherwise unauthorized HTTPS URL.
- The server then sends outbound
POSTrequests there whenever a notification is pushed. - This is a stored, mostly blind SSRF primitive: useful for outbound interaction with attacker infrastructure and, where routable, internal HTTPS services.
- Notification metadata is disclosed to the supplied endpoint through the encrypted web push request path.
Patches
See https://github.com/decidim/decidim/pull/16714.
Workarounds
Disable the push notifications feature by removing the VAPID keys in the server.
Resource
SSRF
Credits
This issue was discovered in a security audit organized by the Decidim Association and made by Radically Open Security against Decidim financed by NGI.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More RubyGems vulnerabilities
All RubyGems entriesCVE-2026-45377
Decidim: Private exports can be downloaded through reusable links
medium6.5Jul 13, 2026CVE-2026-45572
Decidim: HTML content blocks allow stored script execution
medium4.8Jul 13, 2026CVE-2026-40869
Decidim amendments can be accepted or rejected by anyone
high7.5Apr 14, 2026CVE-2026-23891
Decidim has a cross-site scripting (XSS) in user name
critical8.7Apr 13, 2026CVE-2025-65017
Decidim's private data exports can lead to data leaks
high8.2Feb 3, 2026CVE-2023-51447
Cross-site scripting (XSS) in the dynamic file uploads
medium6.3Feb 20, 2024
