One of the worst-kept secrets on the Suicide Squad set while production was under way in Toronto last year was the presence of Ben Affleck as Bruce Wayne/Batman. We saw Ben Affleck in costume as both Bruce Wayne and Batman numerous times during the shoot, including several scenes where he was seen riding atop The Joker's (Jared Leto) purple sports car through the streets of Toronto. The studio didn't even try to hide Batman's presence either, since he's surfaced briefly in the trailers that have been released thus far. But now new details tease that there may be another connection from Batman v Superman Dawn of Justice and Suicide Squad. There will be potential SPOILERS for the upcoming Ultimate Edition of Batman v Superman: Dawn of Justice, so read on at your own risk.

Earlier this month, Warner Bros. confirmed that the Batman v Superman: Dawn of Justice Ultimate Edition will debut on Digital HD June 28, ahead of its release on Blu-ray Combo Pack, DVD, and Ultra HD Blu-ray July 19. This edition will contain more than 30 minutes of footage that wasn't seen in the theatrical cut of Batman v Superman: Dawn of Justice, some of which we got to see in the trailer that surfaced a few weeks ago. Comic Book Movie has gotten a hold of an early copy of this Extended Edition, which seemingly confirms a long-held rumor that Lex Luthor (Jesse Eisenberg) will put in an appearance in Suicide Squad.

RELATED: The Suicide Squad Is Heavily R-Rated and Insane Says Joel Kinnaman

Part of the extended cut includes a longer version of Batman's confrontation with Lex Luthor towards the end of the movie. Lex reveals in this footage that he knows Bruce Wayne and Batman are one in the same, while taunting Bruce by claiming that he's "too insane" to stand trial for his actions. Batman responds in turn by telling Lex that he has made the necessary arrangements for Lex to be moved to Arkham Asylum.

Of course, we have known for quite some time that Arkham Asylum will be used in Suicide Squad, so it's possible that Lex Luthor could have some interactions with Task Force X, particularly The Joker. Naturally, the rumors of Lex Luthor's inclusion in Suicide Squad have never been confirmed, and it seems unlikely that we'll know for sure until the movie hits theaters on August 5. Earlier this month, Jesse Eisenberg confirmed that Lex Luthor will return in the highly-anticipated Justice League movies. If Lex Luthor is seen in Arkham Asylum in Suicide Squad, it's possible that he could be involved in the long-rumored prison riot sequence at the end of the movie, where he could make his escape and re-surface in Justice League, but that's only speculation for now.

David Ayer is directing Suicide Squad from his own screenplay, with a star-studded cast that includes Will Smith (Deadshot), Jared Leto (The Joker), Margot Robbie (Harley Quinn), Joel Kinnaman (Rick Flagg), Karen Fukuhara (Katana), Jai Courtney (Boomerang), Viola Davis (Amanda Waller) and Cara Delevingne (Enchantress). Warner Bros. has already confirmed a Harley Quinn spinoff with Margot Robbie, and there have been reports that they're also developing spinoffs for The Joker and Boomerang as well. Stay tuned for more on Suicide Squad as we get closer to the August 5 release date.