Fakturownia breach: what stores should do with API keys
In short: if your store connects to Fakturownia (a popular Polish invoicing service) through a plugin, an app or an order manager such as Base or Apilo, generate a new API authorisation code in Fakturownia, enter it in the integration and delete the old one. Fakturownia itself recommends this after the incident of 27-28 September 2026, in which, among other things, API tokens stored in account settings were copied. According to Fakturownia, KSeF (Krajowy System e-Faktur, the Polish National e-Invoicing System) certificates were not taken, but it is worth reviewing the token and permission lists in the Ministry of Finance taxpayer app while you are at it.
This article is based on Fakturownia's official notice (update no. 1 of 1 October 2026), the statement of the President of UODO (the Polish data protection authority) of 5 October 2026 and reporting by Sekurak. Status as of 26 October 2026.
What happened: facts from Fakturownia's notice
- Access window. An unauthorised person had access to the systems from about 3:20 on 27.09.2026 to about 17:45 on 28.09.2026. Fakturownia blocked the attacker's address on 28 September and cut off access to the application the same day.
- Scope. "The incident affects every account in Fakturownia", but the scope of copied data differs between accounts. For about 2,250 accounts, all data from 2022-2026 was taken.
- Keys. Fakturownia's table of copied data lists "API tokens, integration keys stored directly in account settings", in full, depending on the integrations used.
- Not taken. KSeF certificates, bank login data and card data (Fakturownia does not store them), and data of integrations configured under the "Integracje i dodatki" (Integrations and add-ons) tab.
- Response. Fakturownia replaced customers' API tokens, moved traffic to new servers, reported the breach to the President of UODO, CERT Polska and the police on 29 September, and began sending individual notices on 1 October. According to the company, the data has not been published so far.
One caveat: the first notice of 29 September said integrations were not affected. The update of 1 October changed the scope and added API tokens. If you only read the first version, check the current one.
Why this matters for an online store
Plugins and integrations that issue invoices in Fakturownia on behalf of a store connect to it with an API token. Examples from vendor documentation:
- the Fakturownia plugin for WooCommerce (by WP Desk) has an "API Token" field on its "Autoryzacja" tab, under WooCommerce, Settings, Integration, Fakturownia,
- Apilo takes the token in its Fakturownia connection form (Administracja, Księgowość konfiguracja),
- Base integrations, Shopify apps and PrestaShop modules work the same way.
An API token works like a password to the Fakturownia account, but it is separate from the login password: Fakturownia recommends both a new password and new API keys in integrations. After the incident, Fakturownia restricted existing keys to IP addresses previously used by the account's users. That is a good safeguard for now, but the company still recommends entering new keys.
What to do now: checklist
| Step | Where | Why |
|---|---|---|
| 1. Change the Fakturownia password, and any other password that was the same | Fakturownia and other accounts | password hashes were copied |
| 2. List every integration that uses a token | store plugin, Base, Apilo, your own scripts | so none stays on the old key |
| 3. Ask the integration vendor for guidance | plugin, app, agency | Fakturownia asks you to contact the vendor before generating keys |
| 4. Create a new token, one per integration | Ustawienia > Ustawienia konta > Integracja > Kod autoryzacyjny API > Zobacz APITokeny > Dodaj nowy token | one token per tool |
| 5. Enter the new token and test | plugin or system settings | test invoice or connection check |
| 6. Delete the old tokens | API token list | the old key stops working |
| 7. Review tokens and permissions in KSeF | Aplikacja Podatnika KSeF | make sure you recognise every entry |
| 8. Confirm bank account changes by phone | contact with business partners | account numbers and invoice amounts were copied |
| 9. Assess GDPR risk and record the decision | breach register | a data controller's duty |
How to generate a new token in Fakturownia
The path from Fakturownia's help centre is Ustawienia > Ustawienia konta > Integracja > Kod autoryzacyjny API > Zobacz APITokeny (Settings > Account settings > Integration > API authorisation code > View API tokens), then "Dodaj nowy token" (Add new token). In the description field, name the integration, for example "WooCommerce main store 2026-10". The full token is visible for 60 minutes after creation or until first use, after which it is masked, so copy it straight into the integration. A token works only on the account where it was created.
Order matters: new token in the integration first, then a test, and only then delete the old one. Otherwise your store will briefly stop issuing invoices.
What to check in KSeF
Fakturownia says KSeF certificates were not taken, and its first notice added that the KSeF integration was not breached. So there is no reason to rush and revoke your KSeF access because of this incident. A quick review is still worth it. In Aplikacja Podatnika KSeF:
- Token list and certificate list: do you recognise every entry, and is each still needed? Revoke any KSeF token you do not recognise.
- Permissions granted in your NIP: who can issue and who can view invoices. Remove what nobody uses.
- Session history: look for sessions you cannot account for.
A Fakturownia API token and a KSeF token are different things. The first opens your account in the invoicing service, the second gives access to KSeF for your NIP (Polish tax ID). More on KSeF tokens: KSeF token, and on the minimum permissions for apps: KSeF permissions for a store app.
GDPR: report to UODO or not
For your customers' data, you are the controller and Fakturownia processes it on your behalf. Fakturownia treats its email of 1 October as the processor's notice to the controller. On 5 October 2026, the President of UODO reminded controllers that not every breach must be reported: usually no report is needed if only data already public in CEIDG (the Polish business register) leaked, such as name, business name, NIP and address. A report is usually needed when, for example, PESEL numbers or financial information leaked along with it. Whatever you decide, you must document the risk assessment and record it in your internal breach register. If you invoiced consumers, do this carefully, ideally with a lawyer.
The general rule for keys in integrations
Any key you paste into a plugin can leak one day: at the vendor, in a store backup or in an email to an agency. A few rules limit the damage:
- One key per tool. Then you revoke only the leaked one and everything else keeps working.
- A name with a date and an owner. A year later you still know what each key is for and which can go.
- The smallest possible scope. In KSeF, a store app's token usually needs only the permission to issue invoices.
- Separate test and live keys. A test key pasted into a development environment should not work on real invoices.
- Quarterly review. Delete keys left by old plugins, agencies and staff.
- Never send keys by email or chat. Paste them directly into the integration settings.
How we handle it in KSeF Faktury
Briefly, because people ask: in our panel, an API key covers one store and one mode, test (KSeF TEST) or live. The full key is shown only once, we keep only its SHA-256 hash, and under "Stores and API keys" you can roll or revoke one store's key without touching the others. The KSeF certificate or token is stored encrypted; details on our Security page.
Frequently asked questions
Do I need to revoke my KSeF certificate after the Fakturownia breach?
According to Fakturownia, KSeF certificates were not taken, so this incident alone does not require it. Do review the token and certificate lists in the taxpayer app and revoke anything you do not recognise.
My integration still works. Do I need a new token?
Yes. Fakturownia recommends new keys for all integrations other than its own ones configured under "Integracje i dodatki". Old keys now work only from previously used IP addresses, but that is a temporary safeguard.
Is changing the Fakturownia password enough?
No. The password and the API token are separate credentials, and Fakturownia recommends replacing both. You create the new token and delete the old one in the API token list.
This article is general information and is not legal advice.
Sources
- Fakturownia: security incident, official notice, update no. 1 of 01.10.2026 (fakturownia.pl)
- Fakturownia help: where to get the API authorisation code (pomoc.fakturownia.pl)
- President of UODO: not every data breach must be reported, 05.10.2026 (uodo.gov.pl)
- Sekurak: Fakturownia sent information about the leak, 02.10.2026 (sekurak.pl)
- WP Desk: Fakturownia WooCommerce plugin docs (wpdesk.pl)
- Apilo help: connecting Fakturownia.pl (apilo.com)
- Podręcznik użytkownika Aplikacji Podatnika KSeF 2.0 (ksef.podatki.gov.pl) (taxpayer app user manual)
- Regulation (EU) 2016/679 (GDPR), Article 33 (eur-lex.europa.eu)
Status as of 26 October 2026.