Releases

Bitcart version 0.11.2.0 is out!

Passkeys, safer accounts and password resets, limits on requests to internal hosts, an admin CLI and reverse proxy presets.

MrNaif20185 min read
What's new in Bitcart 0.11.2.0: passkeys, safer accounts, internal hosts and the admin CLI

Bitcart version 0.11.2.0 is out! This release makes many changes to the account model of Bitcart, to make it more secure in all cases and better protect merchants.

Originally, the threat model of Bitcart did not assume that other merchants on your instance could be hostile. Now it is mostly accounted for, and all important security fixes were applied. If you run a Bitcart instance with public registration, please update as soon as possible. For everyone else there is still a lot of extra protection from outside actors, but nothing too critical.

Please read the three important changes below before updating.

IMPORTANT: Requests to internal hosts

Bitcart no longer sends requests to local and private network addresses unless they are allowed. It applies to IPNs, store emails, plugin downloads and other requests to addresses set by users.

If you send IPNs to services in your local or docker network, add them to the new "Allowed internal hosts" server policy, by name or IP, optionally with a port. Superusers can also allow internal hosts per user in the users list, those apply to the user's store email settings and Lightning peers. Lightning peers are now checked before opening channels.

IPN redirects are no longer followed.

Allowed internal hosts server policy in the admin panel, with n8n:5678 and 192.168.1.5:8080 added
Allowing two services from the local network

IMPORTANT: Notification providers

Only Telegram, Discord, Slack, Pushover, Simplepush, Matrix and E-Mail notification providers are kept. Notifications using other providers are no longer sent and are shown as errors in the admin panel, please switch them to one of the providers above.

The shorter list allows us to better control the security surface. It is a short-term solution, so if a notification provider you were using was removed, let us know.

  • The new E-Mail provider sends notifications to the store owner's email, using store email settings
  • Matrix notifications are sent via matrix.org only
  • Failed notifications are now retried in background, for up to 30 minutes

IMPORTANT: Redis configuration

Docker deployments are updated automatically. Redis there now runs without network, over a unix socket.

If you run Bitcart manually, check your config: REDIS_HOST, REDIS_PORT and REDIS_DB are replaced by a single REDIS_URL, for example redis://127.0.0.1:6379/0. Unix sockets are supported too: unix:///run/redis/redis.sock?db=0.

Passkeys

Security keys are no longer limited to hardware keys. Passkeys stored by your device or password manager work too, for example Apple's iCloud Keychain on a Mac, iPhone or iPad, Google Password Manager, or KeePassXC (opens in new tab) with its browser extension. Add them on the "FIDO2 Devices" page of your profile.

We highly recommend everyone to use them instead of an authenticator app. A security key only works on the site it was registered on, so it can't be phished: a fake login page can't use it, while a code from an authenticator app can be typed into one. See account security (opens in new tab) for more details.

Account security

  • Password reset now asks for 2FA if it is enabled
  • Wrong 2FA codes are limited, and users get an email after several wrong codes
  • Emails when the password is changed, 2FA is turned on or off, and security keys are added or removed
  • When an email server is configured, setting up 2FA requires a verified email. 2FA changes in the admin panel are confirmed with your password
  • Better handling of TOTP clock drift
  • Minimum password length of 8 characters is now enforced in the API too
  • Captcha action and site key are now checked. If the captcha provider is down, requests needing a captcha fail with a 503 error
Reset your password form in the admin panel, asking for a 2FA or recovery code, with a Use security key button and a Two-factor authentication is required message
Resetting the password of an account with an authenticator app and a passkey

Admin CLI

Bitcart now has a command-line interface for admin commands, run it with python3 -m api.cli. In docker deployments, reset the password of any user with:

bash
cd bitcart-docker
./admin.sh reset-password you@example.com

It asks for the new password twice, and logs the user out everywhere: all of their sessions and API keys are deleted.

Superusers without 2FA can't reset their password by email anymore. Instead, the reset email contains this command to run on the server. We recommend turning on 2FA for all superusers.

update.sh now updates plugins through the CLI too.

Running behind a reverse proxy

There are now two documented ways to put Bitcart behind your own reverse proxy:

  • TLS forwarding (recommended), ./setup.sh --preset proxied: your proxy passes encrypted traffic through using PROXY protocol, and Bitcart handles SSL certificates itself
  • TLS termination, ./setup.sh --preset proxied-tls-termination: your proxy decrypts traffic and holds the certificates. Use it when your proxy needs to read requests, for example to run a WAF

proxied-tls-termination replaces the proxied-legacy preset. If you used it, run ./setup.sh --preset proxied-tls-termination once.

It trusts X-Forwarded-For and X-Forwarded-Proto headers from 172.16.0.0/12, the default docker range, via the new docker trusted IPs preset. If your proxy runs elsewhere, add its address range to REVERSEPROXY_TRUSTED_IPS.

Nginx no longer adds its internal port to redirects in proxied mode.

The custom reverse proxy guide (opens in new tab) has the full setup, including ready Caddy configs for both modes.

Daemons

  • TRX and ETH-based: massively reduced number of requests on startup, better switching between multiple RPCs, slow TRX nodes no longer delay requests
  • ETH-based: CCIP-read is turned off
  • BTC, LTC, GRS: new FEE_POLICY setting (e.g. BTC_FEE_POLICY) to change the default fee policy, for example eta:2, mempool:1000000 or feerate:1000
  • BCH: CashTokens metadata is cached and works when the BCMR indexer is down
  • Better readiness checks

Plugin developers

  • New admin_alerts slot in the admin panel layout
  • More abilities for custom policy editors in the admin panel
  • Plugins can use the lightning_description template when creating payment methods

Other changes

  • Payouts which were broadcast are never marked as failed anymore
  • Plugins auto-update picks the version matching your license key, and license info is refreshed on the plugins page
  • Fix empty fiatlist query not returning the full currencies list
  • Fix wallet creation form keeping data of the previous wallet in the admin panel
  • Better icons for some chains in the checkout
  • Less verbose IPN logs, and the slowest payment method is logged during invoice creation
  • Upgrade Electrum, Electron Cash, electrum-ltc and electrum-grs
  • Docker: the host agent restores backups only from the backups directory
  • Docker: upgrade tor to 0.4.9.17 and cloudflared to 2026.11.2
  • Dependency updates