Guide: Law

Who is liable when AI-generated code causes damage?

The European rules that become relevant for software in 2026 do not ask whether a person or a language model wrote the code, but who supplies, modifies and operates it. Product liability, the Cyber Resilience Act, Article 50 of the EU AI Act (Regulation (EU) 2024/1689) and NIS2 are set out here with their dates and limits. This is a general overview and not legal advice.

A chain of white modules on dark slate, one has a fine crack, with a thin line of orange light running from it back to the first moduleAI-GENERATED
UPDATED
12 September 2026
READING TIME
13 min

Short answer

EU law currently has no dedicated liability rule for AI-generated code; a proposed AI liability directive was withdrawn in 2025. The question runs through the Product Liability Directive (EU) 2024/2853, the Cyber Resilience Act, Article 50 of the EU AI Act, NIS2, and contract and tort law. Which rule applies depends on role, supply route and the type of damage.

01

Is there a dedicated liability rule for AI-generated code?

No. None of the EU rules described here turns on where the code came from. The Product Liability Directive asks whether a product is defective and who placed it on the market or put it into service. Whether a person or a language model wrote the lines is not a criterion the directive text mentions.

The European Commission has withdrawn its proposal for a dedicated AI liability directive (COM(2022) 496); the withdrawal has appeared in the Official Journal since 6 October 2025 (C/2025/5423). Claims in contract or tort on grounds other than defectiveness are left untouched by the Product Liability Directive (Article 2(4)(b)). The technical side of the topic is covered by From prototype to a production-ready application.

02

Which dates shape the legal position for software?

NIS2 has applied in Germany since 6 December 2025, Article 50 of the EU AI Act since 2 August 2026, and the Cyber Resilience Act's reporting duties since 11 September 2026. The transposition deadline for the Product Liability Directive ends on 9 December 2026, and the Cyber Resilience Act applies in full from 11 December 2027.

Key dates for software at a glance
  1. Product Liability Directive enters into force

    Directive (EU) 2024/2853, published on 18 November 2024 (Article 23).

  2. Cyber Resilience Act enters into force

    Regulation (EU) 2024/2847; duties phased in under Article 71.

  3. Germany's NIS2 implementation act enters into force

    Published in the Federal Law Gazette (Bundesgesetzblatt), 2025 I No. 301.

  4. Article 50 of the EU AI Act applies

    Transparency duties for providers and deployers of certain AI systems.

  5. Cyber Resilience Act reporting duties

    Article 14 applies, and according to the Commission also to products already on the market.

  6. Today

  7. Transition for Article 50(2) ends

    For providers whose systems were on the market before 2 August 2026 (Regulation (EU) 2026/1744).

  8. Product liability deadline

    Transposition deadline (Article 22). The directive applies to products placed on the market or put into service after this date.

  9. Cyber Resilience Act applies in full

    From this date, the essential cybersecurity requirements also apply.

Dates can shift: in July 2026, Regulation (EU) 2026/1744 pushed back the EU AI Act's high-risk requirements to 2 December 2027 and 2 August 2028, while keeping the start date for Article 50 unchanged.

03

What does the new Product Liability Directive change for software?

Directive (EU) 2024/2853 names software as a product explicitly, including software used over a network. It applies to products placed on the market or put into service after 9 December 2026, and turns on whether the product is defective, not on fault.

  • Product: software, including as software-as-a-service (Article 4(1), recital 13). Pure source code as information is not a product.
  • Manufacturer: anyone who develops a product, has it developed, presents it under their own name, or develops it for their own use (Article 4(10)). Anyone who substantially modifies a product outside the manufacturer's control and then makes it available or puts it into service also counts as a manufacturer (Article 8(2)).
  • Defectiveness: the product does not provide the safety a person is entitled to expect; safety-relevant cybersecurity requirements feed into that assessment (Article 7).
  • Exemption: free and open-source software developed or supplied outside a commercial activity (Article 2(2)).

Who can claim, and which damage counts

Natural persons have a claim (Article 5), for death, personal injury including medically recognised harm to mental health, damaged property, and destroyed or corrupted data (Article 6). Property used exclusively for professional purposes is excluded, as is data used for professional purposes. The directive therefore does not cover damage that a business alone suffers to such property or data; where the line falls for mixed use depends on the individual case and on the German transposition.

Updates and transposition in Germany

The defence that a defect did not yet exist when the product was placed on the market does not apply under Article 11(2) where the defect stems from software, from updates, or from missing safety-critical updates within the manufacturer's control. For code that is built quickly and kept under continuous development, the update route is therefore the one that counts. The directive must be transposed by 9 December 2026 (Article 22). The German Bundestag debated the government's bill to modernise product liability law (Drucksache 21/4297) at first reading on 4 March 2026. For older products, Directive 85/374/EEC continues to apply (Article 21).

04

When do the Cyber Resilience Act's reporting duties apply?

Article 14 of Regulation (EU) 2024/2847 has applied since 11 September 2026. Manufacturers of products with digital elements made available on the EU market report actively exploited vulnerabilities and severe security incidents to the competent CSIRT and to ENISA, and according to the Commission this also covers products already on the market.

Reporting deadlines under Article 14
  1. 01Awarenessactively exploited vulnerability or severe incident
  2. 02Early warningwithin 24 hours
  3. 03Notificationwithin 72 hours
  4. 04Final report, vulnerabilityno later than 14 days after a fix becomes available
  5. 05Final report, incidentwithin one month of the notification

Making a product available on the market means supplying it for distribution or use on the Union market in the course of a commercial activity, whether for payment or free of charge (Article 3(22)). According to the Commission's FAQ, no placing on the market occurs where a product is manufactured for own use; a purely internally developed and used application therefore, as a rule, falls outside the Cyber Resilience Act. Standalone SaaS solutions are, in the Commission's own view, not products with digital elements, unless they form remote data processing belonging to a product.

Intermediate cases stay open: an internal application later opened up to customers, a tool used by other companies within a group, a companion app for a device. The remaining requirements apply from 11 December 2027; for products already placed on the market beforehand, Article 69(2) applies them only where there is a substantial modification.

05

What role does Article 50 of the EU AI Act play?

Article 50 of Regulation (EU) 2024/1689 governs transparency, not damages. Since 2 August 2026, people are meant to be able to tell when they are interacting with an AI system, and providers must mark generated content in a machine-readable format. Article 99 provides for fines for breaches; Article 50 itself contains no separate claim for damages.

Roles, internal applications and practical labelling are covered in Does AI in an application need to be labelled?. A first orientation on classification is given by the EU AI Act check, and the whole regulation is set out on Implementing the EU AI Act.

06

How does NIS2 affect a company's own software and its service providers?

Germany's NIS2 implementation act has been in force since 6 December 2025 and obliges entities, not individual applications. Section 30(2) no. 4 of the BSI Act names supply chain security as a risk management measure. According to the BSI, this indirectly affects service providers too, even ones that do not themselves fall under the act.

The BSI states that regulated entities should contractually oblige their suppliers to take security measures and have them demonstrate compliance, for example on security by design, incident handling and patch management. For software built with AI tools, that can turn into concrete contract questions: which tools are in use, how generated code is reviewed, and how dependencies are maintained. Whether a company is itself regulated can be checked, as a legally non-binding orientation, with the BSI's NIS2 applicability check.

07

The four rules side by side

Product liability, the Cyber Resilience Act, the EU AI Act and NIS2

CriterionProduct liability (EU) 2024/2853Cyber Resilience Act (EU) 2024/2847EU AI Act, Article 50NIS2 (BSI Act)
Type of ruleLiability for damage from defective products, without faultCybersecurity requirements and reporting duties for manufacturersTransparency dutiesRisk management and reporting duties
TriggerPlacing a product on the market or putting it into serviceMaking a product with digital elements available on the marketCertain AI systems, and the role as provider or deployerThe entity, not the individual application
Key dateProducts from after 9 December 2026Reporting duties since 11 September 2026, in full from 11 December 2027Since 2 August 2026, transition for paragraph 2 to 2 December 2026Since 6 December 2025
Purely internal useA manufacturer also includes anyone developing for their own use; only certain types of damage to natural persons are recoverableOwn use is not placing on the market, according to the Commission's FAQNo general exemption; Article 2(10) excludes only purely personal, non-professional use by natural personsNot the yardstick; what matters is the entity

08

Which assumptions do not hold up against the legal text?

Four common assumptions

09

Which topics belong in a conversation with legal counsel?

Decision path

Topics to raise with legal counsel

The questions sort topics for a conversation. They do not provide a legal classification of an application.

    All questions and results as a list
    • Is the software supplied outside the company itself, for example to customers, to partners, or bundled with a device?
      • Yes, continue with: Does it include AI functions that people interact with directly, or that generate image, audio, video or text content?
      • No, internal use only, continue with: Does it include AI functions that people interact with directly, or that generate image, audio, video or text content?
    • Does it include AI functions that people interact with directly, or that generate image, audio, video or text content?
      • Yes, Result: Supply, reporting channels and transparency
      • No, Result: Supply, reporting channels and updates
    • Does it include AI functions that people interact with directly, or that generate image, audio, video or text content?
      • Yes, Result: Transparency and roles for internal use
      • No, continue with: Is the company itself an entity of particular importance or an important entity under the BSI Act?
    • Is the company itself an entity of particular importance or an important entity under the BSI Act?
      • Yes, Result: Risk management under the BSI Act
      • No or unclear, Result: Limits of internal use, and contracts
    • Result: Supply, reporting channels and transparencyWhether the supply counts as making the product available on the market under the Cyber Resilience Act, and how notifications under Article 14 are prepared. Who counts as manufacturer under the Product Liability Directive, including for updates. Which role the company has under the EU AI Act, and what can follow from that under Article 50.
    • Result: Supply, reporting channels and updatesWhether the supply counts as making the product available on the market under the Cyber Resilience Act, and how notifications under Article 14 are prepared. Who counts as manufacturer under the Product Liability Directive, and how the update route is governed by contract.
    • Result: Transparency and roles for internal useWhether Article 50 of the EU AI Act can apply to internal use, for example an assistant for staff, and whether the company is a provider, a deployer, or both. What consequences developing it for own use can have under the Product Liability Directive.
    • Result: Risk management under the BSI ActHow the application is folded into risk management under Section 30 of the BSI Act, including its development and maintenance. What role AI tools and service providers play in the supply chain.
    • Result: Limits of internal use, and contractsWhether use genuinely stays within the company itself, including for group companies or external user accounts. Which contracts with service providers and tool vendors govern responsibility for code and updates.

    10

    Which documents make such a conversation easier?

    Checklist

    Documents for the conversation with legal counsel

    0 of6

    The list helps with gathering material. It is not a legal assessment.

    How these documents come together in practice is covered in The business unit built an app and Running an application in-house.

    Frequently asked questions

    Is the provider of an AI coding tool liable for errors in the generated code?

    The instruments covered here do not specifically address this. The Product Liability Directive turns on the manufacturer of the product, meaning whoever develops the software, has it developed, or supplies it under their own name. What commitments and exclusions a tool provider makes follows from its terms of use. How courts will assess such situations remains open.

    Does the new product liability regime apply to software already in use today?

    Under Article 2(1), Directive (EU) 2024/2853 applies to products placed on the market or put into service after 9 December 2026. For products placed on the market earlier, the previous Directive 85/374/EEC continues to apply under Article 21. How changes or updates made after that date should be assessed depends on the individual case and on the German transposition.

    Do purely internal applications fall under the Cyber Resilience Act's reporting duties?

    According to the European Commission's FAQ, no placing on the market occurs where a product is manufactured for own use. An application developed and used exclusively internally therefore, as a rule, falls outside the Cyber Resilience Act. That can look different as soon as the same software goes to third parties in the course of a commercial activity, even free of charge.

    What does NIS2 mean for a software service provider that is not itself regulated?

    The BSI Act requires regulated entities to take the security of their supply chain into account (Section 30(2) no. 4). According to the BSI, that indirectly affects numerous service providers as a result. It becomes visible in contracts, for example through requirements on security by design, incident handling, patch management, and evidence of all of these.

    Read on

    Sources

    1. 01 Richtlinie (EU) 2024/2853 über die Haftung für fehlerhafte Produkte EUR-Lex, 2024 · eur-lex.europa.eu
    2. 02 Verordnung (EU) 2024/2847, Cyber Resilience Act EUR-Lex, 2024 · eur-lex.europa.eu
    3. 03 Verordnung (EU) 2024/1689, KI-Verordnung EUR-Lex, 2024 · eur-lex.europa.eu
    4. 04 Verordnung (EU) 2026/1744, Digital Omnibus on AI EUR-Lex, 2026 · eur-lex.europa.eu
    5. 05 Timeline for the Implementation of the EU AI Act Europäische Kommission, 2026 · ai-act-service-desk.ec.europa.eu
    6. 06 CRA Reporting Obligations Europäische Kommission, 2026 · digital-strategy.ec.europa.eu
    7. 07 Cyber Resilience Act, Summary Europäische Kommission, 2026 · digital-strategy.ec.europa.eu
    8. 08 Cyber Resilience Act implementation, FAQ Europäische Kommission, 2025 · digital-strategy.ec.europa.eu
    9. 09 AI liability directive, Legislative Train Europäisches Parlament, 2026 · europarl.europa.eu
    10. 10 Erste Lesung zur Modernisierung des Produkthaftungsrechts Deutscher Bundestag, 2026 · bundestag.de
    11. 11 Gesetz zur Umsetzung der NIS-2-Richtlinie Bundesgesetzblatt, 2025 · recht.bund.de
    12. 12 BSI-Gesetz, § 30 Gesetze im Internet, 2025 · gesetze-im-internet.de
    13. 13 NIS-2: Sichere Lieferkette BSI, 2026 · bsi.bund.de

    Let us talk about your project

    Whether it is a prototype, an internal tool or an AI application: describe briefly what you are building or want to take into production.

    Arthur C. Clarke

    “Any sufficiently advanced technology is indistinguishable from magic.”