Convoy: Cross-Tenant Source IDOR Leaks Plaintext Message Broker Credentials
CVE-2026-81505 (GitHub advisory GHSA-p5vg-v7mj-f6q4) is a high-severity vulnerability with a CVSS 4.0 base score of 7.1, classed as Authorization Bypass Through User-Controlled Key (CWE-639), in github.com/frain-dev/convoy (Go). Affected versions: < 0.9.3-0.20260724092134-1cc67cd16fb1. It is fixed in 0.9.3-0.20260724092134-1cc67cd16fb1.
Published 18 Sept 2026Updated 18 Sept 2026
- CVE ID
- CVE-2026-81505
- GHSA ID
- GHSA-p5vg-v7mj-f6q4
- EPSS
- 0.34%higher than 27% of CVEs
- Weakness (CWE)
- CWE-639Authorization Bypass Through User-Controlled Key
- KEV status
- Not in KEV
- Published
- 18 Sept 2026
- Updated
- 18 Sept 2026
- Ecosystem
- Go
- Assigned by (CNA)
- GitHub_M
Summary
Source: OSV (GitHub advisory)
frain-dev/convoy (all versions up to and including v26.6.2, no patch available) lets any authenticated caller who is authorized on at least one project read ANY OTHER project's "Source" record by ID via GET /api/v1/projects/{projectID}/sources/{sourceID} -- regardless of whether that Source actually belongs to the project named in the URL. The response includes the Source's full PubSub broker configuration in plaintext (AMQP/Kafka/SQS/Google credentials), with no redaction.
Details
Handler.GetSource (api/handlers/source.go) resolves the caller's
authorization against the {projectID} in the URL via retrieveProject(), then
calls sources.Service.FindSourceByID(ctx, project.UID, sourceID)
(internal/sources/impl.go). That function accepts a projectID parameter but
never uses it:
func (s *Service) FindSourceByID(ctx context.Context, projectID, id string) (*datastore.Source, error) {
row, err := s.repo.FetchSourceByID(ctx, common.StringToPgText(id))
...
}
The underlying SQL query (internal/sources/repo/queries.sql,
fetchSourceByID) has no project_id predicate at all:
SELECT ... FROM convoy.sources AS s
LEFT JOIN convoy.source_verifiers sv ON s.source_verifier_id = sv.id
WHERE s.id = $1 AND s.deleted_at IS NULL
So the {projectID} in the URL only gates "is the caller authorized to view
a project" -- it never re-validates that the fetched Source actually
belongs to that project. LoadSourcesPaged (the list endpoint) does
correctly scope by project; only the single-item GetSource lookup is
affected. SourceResponse{*datastore.Source} embeds the full database
record with no redaction, so if the leaked Source is an AMQP/Kafka type, its
pub_sub.*.auth.password field (a live, plaintext broker credential) is
returned verbatim.
Proof of Concept
- As a test account, create "Victim Project" and an AMQP Source in it with a known broker password (verified against a real RabbitMQ broker, not just stored -- Convoy performs a live connectivity check before persisting an AMQP source).
- As the same or a different authenticated caller, create a completely separate "Attacker Project".
- Call GET /api/v1/projects/{attacker_project_id}/sources/{victim_source_id} -- i.e. a request whose URL and authorization check only ever resolve the Attacker project.
- Verified in a Docker lab (convoy v26.6.2): the request returns 200 with
the Victim project's full Source object, including
pub_sub.amqp.auth.password matching the secret set in step 1 exactly.
The response's own
project_idfield is the Victim project's id, never the Attacker project id used in the URL/authorization check. - Negative control: an otherwise-identical request for a made-up source id under the same Attacker project returns 404, confirming this is a real, ID-specific hit and not a blanket-200 endpoint.
(Community Edition license-gates org_limit=1/user_limit=1, so this PoC used one account with two projects rather than two separate companies -- the vulnerable query performs no project-ownership check regardless of license tier, so a licensed multi-org deployment has the identical exposure between genuinely different tenants.)
Impact
Any authenticated user or project-scoped API key holder who has legitimate access to at least one project on a Convoy instance can read any other project's Source configuration by ID, including plaintext third-party message-broker credentials (AMQP/Kafka/SQS/Google PubSub). In a multi-tenant deployment this is a direct cross-customer credential leak.
Fix
Add a project_id predicate to the fetchSourceByID query (and audit other
single-item repository lookups reachable via a {projectID} route for the
same pattern), or re-check source.ProjectID == project.UID in the handler
before returning the record.
Affected / Patched
Affected: <= v26.6.2 (latest release at time of report). No patched version available.
Technical details
Source: GitHub Advisory Database
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:NHigh7.1Base score from GitHub Advisory Database
- Attack Vector AV
- Network
- Attack Complexity AC
- Low
- Attack Requirements AT
- None
- Privileges Required PR
- Low
- User Interaction UI
- None
- Confidentiality (Vulnerable System) VC
- High
- Integrity (Vulnerable System) VI
- None
- Availability (Vulnerable System) VA
- None
- Confidentiality (Subsequent Systems) SC
- None
- Integrity (Subsequent Systems) SI
- None
- Availability (Subsequent Systems) SA
- None
CISA SSVC decision points
- Exploitation
- poc
- Proof-of-concept code is public
- Automatable
- no
- Needs manual steps per target
- Technical impact
- partial
- Limited control of the affected system
CISA Coordinator assessment (SSVC 2.0.3) via CVE.org.
Affected packages
Source: OSV (GitHub advisory)
- github.com/frain-dev/convoyGo
pkg:golang/github.com/frain-dev/convoy- Affected versions
- < 0.9.3-0.20260724092134-1cc67cd16fb1
- Fixed in
- 0.9.3-0.20260724092134-1cc67cd16fb1
| Package | Affected versions | Fixed in |
|---|---|---|
github.com/frain-dev/convoy Go pkg:golang/github.com/frain-dev/convoy |
|
|
Fix
Source: OSV (GitHub advisory)
Fix available
Upgrade to 0.9.3-0.20260724092134-1cc67cd16fb1 or later.
Patch commits
fix(controlplane): scope source lookups by project and canonicalize jwt blacklist keys (#2755)
+111 −11 across 4 files
- auth/realm/jwt/jwt.go+25 −1
- auth/realm/jwt/jwt_test.go+65 −0
- internal/sources/get_source_test.go+5 −8
- internal/sources/impl.go+16 −2
Release commits
The commits each fixed release tag points at. They usually bump the version rather than contain the fix itself.
Vulnerability intelligence
Root cause analysis
Vulnerable functions
References
Fixes 2
Advisories 4
Package 1
Other links 1
Credits
- GrayOMreporter
Questions about CVE-2026-81505
- What is the GHSA ID for CVE-2026-81505?
- GitHub tracks CVE-2026-81505 as GHSA-p5vg-v7mj-f6q4.
- What is the CVSS score of CVE-2026-81505?
- CVE-2026-81505 has a CVSS 4.0 base score of 7.1 (High), vector CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N.
- Which versions are affected by CVE-2026-81505?
- github.com/frain-dev/convoy (Go): < 0.9.3-0.20260724092134-1cc67cd16fb1.
- How do I fix CVE-2026-81505?
- Upgrade to 0.9.3-0.20260724092134-1cc67cd16fb1 or later. The fix is in commit 1cc67cd and pull request #2755.
- What is the Package URL (PURL) for CVE-2026-81505?
- The affected package's PURL is pkg:golang/github.com/frain-dev/convoy.
- Is CVE-2026-81505 exploited in the wild?
- CISA's Known Exploited Vulnerabilities catalog doesn't list CVE-2026-81505. That means no confirmed exploitation has been catalogued, not that it is safe to leave unpatched. CISA's SSVC assessment rates exploitation as "poc". EPSS estimates a 0.34% chance of exploitation in the next 30 days, higher than 27% of CVEs.
Data sources
Upstream records
- OSV (GitHub advisory)LoadedRaw JSON
- GitHub Advisory DatabaseLoadedRaw JSON
- OSV (CVE record)LoadedRaw JSON
- CVE.orgLoaded
- CISA KEV catalogLoaded
Fetched 5 days ago (9 Oct 2026, 06:34 UTC). Records refresh automatically after 24 hours.
Where each part of this page came from
- Title and description
- OSV (GitHub advisory)
- Severity score
- GitHub Advisory Database
- Weakness (CWE)
- GitHub Advisory Database
- Affected packages
- OSV (GitHub advisory)
- Fix
- OSV (GitHub advisory)
- References
- Computed by CVEminer
- SSVC
- CVE.org
- KEV status
- CISA KEV catalog
- EPSS
- GitHub Advisory Database
OSV and GitHub Advisory Database content is licensed CC BY 4.0. Values marked as computed or derived were calculated by CVEminer from the upstream data.