Skip to content

fix: update Python dependencies for security - #30

Merged
bitkarrot merged 1 commit into
mainfrom
fix/security-deps-update
Aug 18, 2026
Merged

fix: update Python dependencies for security#30
bitkarrot merged 1 commit into
mainfrom
fix/security-deps-update

Conversation

@bitkarrot

Copy link
Copy Markdown
Owner

Summary

  • Updates lnbits to 1.6.0rc2 (pulls in newer transitive deps)
  • Adds explicit constraints: Pillow>=12.3.0, aiohttp>=3.14.3, cryptography>=50.0.0, protobuf>=6.33.5
  • Resolves most of the 59 Dependabot security alerts (Pillow, aiohttp, cryptography, protobuf, python-multipart)

Remaining (blocked by upstream)

  • starlette — lnbits pins >=0.47.1,<0.49.0, but fix requires >=1.3.1
  • pyjwt — lnbits pins >=2.12.0,<2.13.0, but fix requires >=2.13.0
  • These need to be fixed upstream in lnbits before they can be resolved here

Test plan

  • poetry lock resolves successfully
  • Vulnerable package versions confirmed in lock file

Updates lnbits to 1.6.0rc2 and adds explicit constraints for
Pillow>=12.3.0, aiohttp>=3.14.3, cryptography>=50.0.0,
protobuf>=6.33.5 to resolve most Dependabot security alerts.

Remaining: starlette and pyjwt are constrained by lnbits to
versions <0.49.0 and <2.13.0 respectively — needs upstream fix.
@bitkarrot
bitkarrot merged commit d3cdd2b into main Aug 18, 2026
1 of 6 checks passed
@bitkarrot bitkarrot mentioned this pull request Aug 18, 2026
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant