AI-generated analysisPublished automatically and not human-verified. Validated context appears in community notes below.
← Watch feed
Moderate 50 Bitcoin

Fix: CanModifyInvoices permission should include the ability to see the lightning invoices of the store

Public commit record

What the developer wrote

Authored by Nicolas Dorier

62/100 · Adequate
Fix: CanModifyInvoices permission should include the ability to see the lightning invoices of the store
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope! No meaningful explanatory body
The short version

What changed, and why it matters

This commit fixes a permission inconsistency in BTCPay Server. Previously, a user who had permission to create Lightning invoices for a store might not have had explicit permission to view those same Lightning invoices. The change makes 'view Lightning invoice' a child permission of 'create Lightning invoice', so anyone who can create them can also see them. This is described as a fix, not a new security vulnerability disclosure, and the diff alone does not show an active exploit or a disclosed incident.

Recommended action

Review whether any role or API key previously granted only CanCreateLightningInvoiceInStore now gains unintended read access, and verify that this aligns with the intended CanModifyInvoices workflow. Consider whether the change should be accompanied by a changelog or security note if it alters effective permissions for existing users.

Security signals we found

01

Permission hierarchy correction

02

Lightning invoice visibility policy change

03

No explicit security advisory or CVE in commit

04

No proof-of-concept or exploit code present

Risk score

Why this scored 50/100

Our methodology →
Potential impact 12/30
Exploitability 10/25
Stealth signal 8/15
Affected reach 10/15
Confidence 7/10
Evidence quality 3/5
Human-validated context

Community notes

Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.

No validated notes yet.

The AI analysis stands alone for now. Submit a note if you can add evidence or important context.